]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
sof-hda-dsp: Use more strict check for Input Source (ControlEnum)
authorJaroslav Kysela <perex@perex.cz>
Fri, 29 Nov 2019 08:40:35 +0000 (09:40 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 29 Nov 2019 09:14:30 +0000 (10:14 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-hda-dsp/HiFi.conf

index 43d8315aca716f6518e30065e6bcbde2bce9e06d..392dff867eb44ba8beadc33c6f95dee04b1828a7 100644 (file)
@@ -85,6 +85,7 @@ If.monomic {
        Condition {
                Type ControlExists
                Control "name='Input Source'"
+               ControlEnum "Headphone Mic"
        }
        True {
                SectionDevice."HeadphoneMic" {
@@ -95,7 +96,7 @@ If.monomic {
                        ]
 
                        EnableSequence [
-                               cset "name='Input Source' Headphone Mic"
+                               cset "name='Input Source' 'Headphone Mic'"
                        ]
 
                        Value {