From 63ae90d6366b9a787baf9af3ebed4207679b0789 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 25 May 2020 20:57:43 +0200 Subject: [PATCH] ucm: fix wrong If in sequence in HiFi-dual.conf Signed-off-by: Jaroslav Kysela --- ucm2/HDA-Intel/HiFi-dual.conf | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) 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" { -- 2.47.1