]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm: fix wrong If in sequence in HiFi-dual.conf
authorJaroslav Kysela <perex@perex.cz>
Mon, 25 May 2020 18:57:43 +0000 (20:57 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 25 May 2020 18:57:43 +0000 (20:57 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/HDA-Intel/HiFi-dual.conf

index 277894ada2f7d62360f0841e2a3a8313d9d933b6..2eb74ee7a0c73402d8fb001b388767edf99c5749 100644 (file)
@@ -74,16 +74,19 @@ SectionDevice."Line2" {
 
        EnableSequence [
                cset "name='Input Source' Line"
-               If.0 {
-                       Condition {
-                               Type ControlExists
-                               Control "name='Line Boost Volume'"
-                       }
-                       True {
+       ]
+
+       If.0 {
+               Condition {
+                       Type ControlExists
+                       Control "name='Line Boost Volume'"
+               }
+               True {
+                       EnableSequence [
                                cset "name='Line Boost Volume' 3"
-                       }
+                       ]
                }
-       ]
+       }
 }
 
 SectionDevice."Mic2" {