Skip to content

Commit 6c677d6

Browse files
committed
ASoC: soc_sdw_utils: remove cs42l45 SmartMic codec name index
Currently the index is 0. In theory, it will not change even if any other endpoint is not present. But to be consistent and avoid surprise, remove the index and let the machine driver match the codec name partially. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent 667770d commit 6c677d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ struct asoc_sdw_codec_info codec_info_list[] = {
737737
},
738738
{
739739
.direction = {false, true},
740-
.codec_name = "snd_soc_sdca.SmartMic.0",
740+
.codec_name = "snd_soc_sdca.SmartMic",
741741
.dai_name = "OT 113",
742742
.dai_type = SOC_SDW_DAI_TYPE_MIC,
743743
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_DMIC_DAI_ID},

0 commit comments

Comments
 (0)