]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
USB-Audio: Steinberg UR22C - fix regex
authorJaroslav Kysela <perex@perex.cz>
Thu, 24 Apr 2025 11:21:10 +0000 (13:21 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 5 Jan 2026 14:55:34 +0000 (15:55 +0100)
There was thinko - right "any character" match is '.' not '?'.

Fixes: 2ecc938 ("USB-Audio: Steinberg UR22C - fix capture channels for older firmware")
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/547
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Steinberg/UR22C.conf

index 08e41002eb38fb8786eb04a48a662fc9864a59c0..154b50975174ad41ab3c345c34bbb46a7b37aa03 100644 (file)
@@ -7,7 +7,7 @@ If.fw {
        Condition {
                Type RegexMatch
                String "${sys-card:device/../bcdDevice}"
-               Match "0[12]??"
+               Match "0[12].."
        }
        True.Define.DirectCaptureChannels 2
 }