diff options
author | Brent Lu <brent.lu@intel.com> | 2024-03-27 11:23:56 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-28 13:58:14 +0000 |
commit | 2e723a79ec609871116d216309c1b89d2f61b713 (patch) | |
tree | e703c9344d4055c48f07a1b9433cda609b439aef /include/sound | |
parent | fe2365c298b51dd08def916a3339a84ec2a1fd42 (diff) | |
download | lwn-2e723a79ec609871116d216309c1b89d2f61b713.tar.gz lwn-2e723a79ec609871116d216309c1b89d2f61b713.zip |
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.h | 5 |
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 */ |