Skip to content

Commit c61da55

Browse files
ujfalusibroonie
authored andcommitted
ASoC: sdw_utils: Add missed component_name strings for speaker amps
Several speaker amp was missed when the compoennt_name was added, which results missing " spk:" from the components string, confusing UCM. Fixes: f792733 ("ASoC: sdw_utils: add component_name string to dai_info") Cc: [email protected] Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 192595a commit c61da55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ struct asoc_sdw_codec_info codec_info_list[] = {
218218
{
219219
.direction = {true, false},
220220
.dai_name = "rt1308-aif",
221+
.component_name = "rt1308",
221222
.dai_type = SOC_SDW_DAI_TYPE_AMP,
222223
.dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_UNUSED_DAI_ID},
223224
.init = asoc_sdw_rt_amp_init,
@@ -238,6 +239,7 @@ struct asoc_sdw_codec_info codec_info_list[] = {
238239
{
239240
.direction = {true, true},
240241
.dai_name = "rt1316-aif",
242+
.component_name = "rt1316",
241243
.dai_type = SOC_SDW_DAI_TYPE_AMP,
242244
.dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_AMP_IN_DAI_ID},
243245
.init = asoc_sdw_rt_amp_init,
@@ -257,6 +259,7 @@ struct asoc_sdw_codec_info codec_info_list[] = {
257259
{
258260
.direction = {true, true},
259261
.dai_name = "rt1318-aif",
262+
.component_name = "rt1318",
260263
.dai_type = SOC_SDW_DAI_TYPE_AMP,
261264
.dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_AMP_IN_DAI_ID},
262265
.init = asoc_sdw_rt_amp_init,
@@ -370,6 +373,7 @@ struct asoc_sdw_codec_info codec_info_list[] = {
370373
{
371374
.direction = {true, false},
372375
.dai_name = "rt721-sdca-aif2",
376+
.component_name = "rt721",
373377
.dai_type = SOC_SDW_DAI_TYPE_AMP,
374378
/* No feedback capability is provided by rt721-sdca codec driver*/
375379
.dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_UNUSED_DAI_ID},
@@ -596,6 +600,7 @@ struct asoc_sdw_codec_info codec_info_list[] = {
596600
{
597601
.direction = {true, false},
598602
.dai_name = "cs42l43-dp6",
603+
.component_name = "cs42l43",
599604
.dai_type = SOC_SDW_DAI_TYPE_AMP,
600605
.dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_UNUSED_DAI_ID},
601606
.init = asoc_sdw_cs42l43_spk_init,

0 commit comments

Comments
 (0)