Skip to content

Commit e4b195e

Browse files
committed
ASoC: soc_sdw_utils: remove index from sdca codec name
The index is not fixed and it will lead to the DAI link can't bind the codec component with the name when the index is different from the predefined one. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent 9d7b793 commit e4b195e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ struct asoc_sdw_codec_info codec_info_list[] = {
729729
.dais = {
730730
{
731731
.direction = {true, false},
732-
.codec_name = "snd_soc_sdca.UAJ.1",
732+
.codec_name = "snd_soc_sdca.UAJ",
733733
.dai_name = "IT 41",
734734
.dai_type = SOC_SDW_DAI_TYPE_JACK,
735735
.dailink = {SOC_SDW_JACK_OUT_DAI_ID, SOC_SDW_UNUSED_DAI_ID},
@@ -745,7 +745,7 @@ struct asoc_sdw_codec_info codec_info_list[] = {
745745
},
746746
{
747747
.direction = {false, true},
748-
.codec_name = "snd_soc_sdca.UAJ.1",
748+
.codec_name = "snd_soc_sdca.UAJ",
749749
.dai_name = "OT 36",
750750
.dai_type = SOC_SDW_DAI_TYPE_JACK,
751751
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_JACK_IN_DAI_ID},
@@ -754,7 +754,7 @@ struct asoc_sdw_codec_info codec_info_list[] = {
754754
.dai_num = 3,
755755
.auxs = {
756756
{
757-
.codec_name = "snd_soc_sdca.HID.2",
757+
.codec_name = "snd_soc_sdca.HID",
758758
},
759759
},
760760
.aux_num = 1,

0 commit comments

Comments
 (0)