From: Bard Liao <yung-chuan.liao@linux.intel.com>
To: broonie@kernel.org, tiwai@suse.de
Cc: linux-sound@vger.kernel.org, bard.liao@intel.com,
peter.ujfalusi@linux.intel.com
Subject: [PATCH 1/2] ASoC: soc_sdw_utils: remove cs42l45 SmartMic codec name index
Date: Mon, 16 Mar 2026 09:03:07 +0800 [thread overview]
Message-ID: <20260316010308.285622-2-yung-chuan.liao@linux.intel.com> (raw)
In-Reply-To: <20260316010308.285622-1-yung-chuan.liao@linux.intel.com>
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>
---
sound/soc/sdw_utils/soc_sdw_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/sdw_utils/soc_sdw_utils.c b/sound/soc/sdw_utils/soc_sdw_utils.c
index becc22328230..ab197edeb75a 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},
--
2.43.0
next prev parent reply other threads:[~2026-03-16 1:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-16 1:03 [PATCH 0/2] ASoC: soc_sdw_utils: remove snd_soc_sdca codec name index Bard Liao
2026-03-16 1:03 ` Bard Liao [this message]
2026-03-16 1:03 ` [PATCH 2/2] ASoC: soc_sdw_utils: remove codec name index of snd_soc_sdca codecs Bard Liao
2026-03-16 18:16 ` [PATCH 0/2] ASoC: soc_sdw_utils: remove snd_soc_sdca codec name index Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260316010308.285622-2-yung-chuan.liao@linux.intel.com \
--to=yung-chuan.liao@linux.intel.com \
--cc=bard.liao@intel.com \
--cc=broonie@kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=peter.ujfalusi@linux.intel.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox