From: Jaroslav Kysela Date: Mon, 25 May 2020 18:57:43 +0000 (+0200) Subject: ucm: fix wrong If in sequence in HiFi-dual.conf X-Git-Tag: v1.2.3~21 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=63ae90d6366b9a787baf9af3ebed4207679b0789;p=alsa-ucm-conf.git ucm: fix wrong If in sequence in HiFi-dual.conf Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/HDA-Intel/HiFi-dual.conf b/ucm2/HDA-Intel/HiFi-dual.conf index 277894a..2eb74ee 100644 --- a/ucm2/HDA-Intel/HiFi-dual.conf +++ b/ucm2/HDA-Intel/HiFi-dual.conf @@ -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" {