diff mbox series

[alsa-ucm-conf,v3,1/2] sof-soundwire: Add missing match for cs42l43 speakers

Message ID 20240708115919.2506891-1-ckeepax@opensource.cirrus.com
State Superseded
Headers show
Series [alsa-ucm-conf,v3,1/2] sof-soundwire: Add missing match for cs42l43 speakers | expand

Commit Message

Charles Keepax July 8, 2024, 11:59 a.m. UTC
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>
---

No changes since v1.

Thanks,
Charles

 ucm2/sof-soundwire/sof-soundwire.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jaroslav Kysela July 8, 2024, 6:46 p.m. UTC | #1
On 08. 07. 24 13:59, Charles Keepax wrote:
> 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>

Applied. Thank you.

				Jaroslav
diff mbox series

Patch

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 {