summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2026-03-16 04:03:07 +0300
committerMark Brown <broonie@kernel.org>2026-03-16 21:14:38 +0300
commit1029df4de882bdfb4698bee6ac2b0c3d98d0e52d (patch)
tree27cef1811d68a678a8be96c5e8160b7674994bdd
parentfc1fbafc18a0352f1f23cdff3533fbd0276dd58e (diff)
downloadlinux-1029df4de882bdfb4698bee6ac2b0c3d98d0e52d.tar.xz
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> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20260316010308.285622-2-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/sdw_utils/soc_sdw_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sdw_utils/soc_sdw_utils.c b/sound/soc/sdw_utils/soc_sdw_utils.c
index d1e98f95735b..fe9b79ace387 100644
--- a/sound/soc/sdw_utils/soc_sdw_utils.c
+++ b/sound/soc/sdw_utils/soc_sdw_utils.c
@@ -791,7 +791,7 @@ struct asoc_sdw_codec_info codec_info_list[] = {
},
{
.direction = {false, true},
- .codec_name = "snd_soc_sdca.SmartMic.0",
+ .codec_name = "snd_soc_sdca.SmartMic",
.dai_name = "OT 113",
.dai_type = SOC_SDW_DAI_TYPE_MIC,
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_DMIC_DAI_ID},