ASoC: sdw_utils: generate combined spk components string
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 25 Jun 2025 14:04:29 +0000 (22:04 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 25 Jun 2025 14:13:46 +0000 (15:13 +0100)
commit0f60ecffbfe35e12eb56c99640ba2360244b5bb3
tree6547df56fa7bba37b177b9cfe5373742c1ae58ec
parentf792733e08d5f5d44ef76d22bcca7ca45a82d0de
ASoC: sdw_utils: generate combined spk components string

The suggestion from UCM for 2 speaker components is using 1 "spk" tag
with 2 component names. Like "spk:rt722+rt1320". The commit removes the
creation of the "spk" components in each rtd_init callback and creat the
string in asoc_sdw_rtd_init().

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Shuming Fan <shumingf@realtek.com>
Link: https://patch.msgid.link/20250625140430.311865-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdw_utils/soc_sdw_cs_amp.c
sound/soc/sdw_utils/soc_sdw_maxim.c
sound/soc/sdw_utils/soc_sdw_rt_amp.c
sound/soc/sdw_utils/soc_sdw_rt_mf_sdca.c
sound/soc/sdw_utils/soc_sdw_utils.c