Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] sof-soundwire: Add missing match for cs42l43 speakers
@ 2024-06-10 15:31 Charles Keepax
  2024-06-10 15:31 ` [PATCH 2/2] sof-soundwire: Add support for cs42l43/cs35l56 bridge configuration Charles Keepax
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Keepax @ 2024-06-10 15:31 UTC (permalink / raw)
  To: perex; +Cc: pierre-louis.bossart, bard.liao, patches, alsa-devel

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-10 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-10 15:31 [PATCH 1/2] sof-soundwire: Add missing match for cs42l43 speakers Charles Keepax
2024-06-10 15:31 ` [PATCH 2/2] sof-soundwire: Add support for cs42l43/cs35l56 bridge configuration Charles Keepax

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox