ASoC: SOF: Intel: support tplg suffix detection
authorBrent Lu <brent.lu@intel.com>
Wed, 27 Mar 2024 16:23:57 +0000 (11:23 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 28 Mar 2024 13:58:15 +0000 (13:58 +0000)
commit1504a768f6045157437693fbfb50ae63ca86ec61
treef81dbc289e645f9b37243e5c59b3f08c9b5bfd6a
parent2e723a79ec609871116d216309c1b89d2f61b713
ASoC: SOF: Intel: support tplg suffix detection

Add new flags to tplg_quirk_mask to detect and append codec/amplifier
tplg suffix to topology file name at runtime. With this feature we
could implement an enumeration entry for all boards which implement
same headphone codec regardless the speaker amplifier type.

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-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-acpi.h
sound/soc/sof/intel/hda.c