ASoC: Intel: ssp-common: get codec tplg suffix function
authorBrent Lu <brent.lu@intel.com>
Wed, 27 Mar 2024 16:23:56 +0000 (11:23 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 28 Mar 2024 13:58:14 +0000 (13:58 +0000)
commit2e723a79ec609871116d216309c1b89d2f61b713
treee703c9344d4055c48f07a1b9433cda609b439aef
parentfe2365c298b51dd08def916a3339a84ec2a1fd42
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>
include/sound/soc-acpi-intel-ssp-common.h
sound/soc/intel/common/soc-acpi-intel-ssp-common.c