linux/sound/soc/intel/boards/sof_sdw_maxim.c

// SPDX-License-Identifier: GPL-2.0-only
// Copyright (c) 2020 Intel Corporation
//
// sof_sdw_maxim - Helpers to handle maxim codecs
// codec devices from generic machine driver

#include <linux/device.h>
#include <linux/errno.h>
#include <sound/control.h>
#include <sound/soc.h>
#include <sound/soc-acpi.h>
#include <sound/soc-dapm.h>
#include "sof_sdw_common.h"

static int maxim_part_id;
#define SOF_SDW_PART_ID_MAX98363
#define SOF_SDW_PART_ID_MAX98373

static const struct snd_soc_dapm_route max_98373_dapm_routes[] =;

int maxim_spk_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai)
{}

static int mx8373_enable_spk_pin(struct snd_pcm_substream *substream, bool enable)
{}

static int mx8373_sdw_prepare(struct snd_pcm_substream *substream)
{}

static int mx8373_sdw_hw_free(struct snd_pcm_substream *substream)
{}

static const struct snd_soc_ops max_98373_sdw_ops =;

static int mx8373_sdw_late_probe(struct snd_soc_card *card)
{}

int sof_sdw_maxim_init(struct snd_soc_card *card,
		       struct snd_soc_dai_link *dai_links,
		       struct sof_sdw_codec_info *info,
		       bool playback)
{}