diff options
author | Brent Lu <brent.lu@intel.com> | 2024-05-09 19:34:07 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-10 09:11:41 +0300 |
commit | 3895aa82b665d43b24ba1ac307e20df3396a6b65 (patch) | |
tree | eb43f8ceae3b252477500fd9b6df6265e69383a6 /sound/soc/intel/boards/sof_maxim_common.h | |
parent | dd3bd9dc47084195fcb3c1b371cb03046abb13ab (diff) | |
download | linux-3895aa82b665d43b24ba1ac307e20df3396a6b65.tar.xz |
ASoC: Intel: maxim-common: add max_98373_dai_link function
Add a helper function, max_98373_dai_link(), for machine driver to
initialize dai link of maxim max98373 speaker amplifier.
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Brent Lu <brent.lu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240509163418.67746-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_maxim_common.h')
-rw-r--r-- | sound/soc/intel/boards/sof_maxim_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_maxim_common.h b/sound/soc/intel/boards/sof_maxim_common.h index 8886f985de68..2d8257cc5229 100644 --- a/sound/soc/intel/boards/sof_maxim_common.h +++ b/sound/soc/intel/boards/sof_maxim_common.h @@ -25,6 +25,7 @@ extern struct snd_soc_ops max_98373_ops; extern const struct snd_soc_dapm_route max_98373_dapm_routes[]; int max_98373_spk_codec_init(struct snd_soc_pcm_runtime *rtd); +void max_98373_dai_link(struct device *dev, struct snd_soc_dai_link *link); void max_98373_set_codec_conf(struct snd_soc_card *card); int max_98373_trigger(struct snd_pcm_substream *substream, int cmd); |