From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: <perex@perex.cz>
Cc: <pierre-louis.bossart@linux.intel.com>, <bard.liao@intel.com>,
<patches@opensource.cirrus.com>, <alsa-devel@alsa-project.org>
Subject: [PATCH 1/2] sof-soundwire: Add missing match for cs42l43 speakers
Date: Mon, 10 Jun 2024 16:31:23 +0100 [thread overview]
Message-ID: <20240610153124.1329052-1-ckeepax@opensource.cirrus.com> (raw)
The cs42l43 reports as cs42l43-spk in the speaker case, the regex in
sof-soundwire needs updated to recognise that.
Fixes: 035d9206cffd ("sof-soundwire: Add basic support for cs42l43's speaker")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
ucm2/sof-soundwire/sof-soundwire.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ucm2/sof-soundwire/sof-soundwire.conf b/ucm2/sof-soundwire/sof-soundwire.conf
index 31492e3..2f61d11 100644
--- a/ucm2/sof-soundwire/sof-soundwire.conf
+++ b/ucm2/sof-soundwire/sof-soundwire.conf
@@ -21,7 +21,7 @@ Define {
DefineRegex {
SpeakerCodec {
- Regex " spk:([a-z0-9]+(-sdca)?)"
+ Regex " spk:([a-z0-9]+((-sdca)|(-spk))?)"
String "${CardComponents}"
}
SpeakerChannels {
--
2.39.2
next reply other threads:[~2024-06-10 15:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-10 15:31 Charles Keepax [this message]
2024-06-10 15:31 ` [PATCH 2/2] sof-soundwire: Add support for cs42l43/cs35l56 bridge configuration Charles Keepax
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=20240610153124.1329052-1-ckeepax@opensource.cirrus.com \
--to=ckeepax@opensource.cirrus.com \
--cc=alsa-devel@alsa-project.org \
--cc=bard.liao@intel.com \
--cc=patches@opensource.cirrus.com \
--cc=perex@perex.cz \
--cc=pierre-louis.bossart@linux.intel.com \
/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