]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
sof-soundwire: Add missing match for cs42l43 speakers
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 8 Jul 2024 11:59:18 +0000 (12:59 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 8 Jul 2024 18:44:26 +0000 (20:44 +0200)
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>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-soundwire/sof-soundwire.conf

index 31492e3f72d6440143de1629945aece8015b3c40..2f61d111a7b28648468d2126ecc2833d152a5b51 100644 (file)
@@ -21,7 +21,7 @@ Define {
 
 DefineRegex {
        SpeakerCodec {
-               Regex " spk:([a-z0-9]+(-sdca)?)"
+               Regex " spk:([a-z0-9]+((-sdca)|(-spk))?)"
                String "${CardComponents}"
        }
        SpeakerChannels {