summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorBrent Lu <brent.lu@intel.com>2024-03-27 19:23:56 +0300
committerMark Brown <broonie@kernel.org>2024-03-28 16:58:14 +0300
commit2e723a79ec609871116d216309c1b89d2f61b713 (patch)
treee703c9344d4055c48f07a1b9433cda609b439aef /include/sound
parentfe2365c298b51dd08def916a3339a84ec2a1fd42 (diff)
downloadlinux-2e723a79ec609871116d216309c1b89d2f61b713.tar.xz
ASoC: Intel: ssp-common: get codec tplg suffix function
Add helper functions to get tplg suffix string for specific headphone codec or speaker amplifier. The string could be used to compose the default topology file name for specific headphone codec and speaker amplifier combination. 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://msgid.link/r/20240327162408.63953-7-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-acpi-intel-ssp-common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/soc-acpi-intel-ssp-common.h b/include/sound/soc-acpi-intel-ssp-common.h
index b568cda11051..b4597c8dac78 100644
--- a/include/sound/soc-acpi-intel-ssp-common.h
+++ b/include/sound/soc-acpi-intel-ssp-common.h
@@ -73,4 +73,9 @@ snd_soc_acpi_intel_detect_amp_type(struct device *dev);
const char *
snd_soc_acpi_intel_get_codec_name(enum snd_soc_acpi_intel_codec codec_type);
+const char *
+snd_soc_acpi_intel_get_codec_tplg_suffix(enum snd_soc_acpi_intel_codec codec_type);
+const char *
+snd_soc_acpi_intel_get_amp_tplg_suffix(enum snd_soc_acpi_intel_codec codec_type);
+
#endif /* __LINUX_SND_SOC_ACPI_INTEL_SSP_COMMON_H */