From: Anton Bambura Date: Wed, 6 Jul 2022 18:32:01 +0000 (+0300) Subject: tegra: max98090: use only needed switches X-Git-Tag: v1.2.7.2~4 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=d5234685e67a0803718599a27008a50a6ec19482;p=alsa-ucm-conf.git tegra: max98090: use only needed switches Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/173 Signed-off-by: Anton Bambura Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/Tegra/max98090/HiFi.conf b/ucm2/Tegra/max98090/HiFi.conf index 93d3217..6346bd8 100644 --- a/ucm2/Tegra/max98090/HiFi.conf +++ b/ucm2/Tegra/max98090/HiFi.conf @@ -50,10 +50,8 @@ SectionDevice."Speakers" { } EnableSequence [ cset "name='Speakers Switch' on" - cset "name='Headphones Switch' off" ] DisableSequence [ - cset "name='Headphones Switch' on" cset "name='Speakers Switch' off" ] } @@ -71,12 +69,10 @@ SectionDevice."Headphones" { JackControl "Headphone Jack" } EnableSequence [ - cset "name='Speakers Switch' off" cset "name='Headphones Switch' on" ] DisableSequence [ cset "name='Headphones Switch' off" - cset "name='Speakers Switch' on" ] } @@ -89,13 +85,11 @@ SectionDevice."InternalMicrophone" { EnableSequence [ cset "name='Int Mic Switch' on" - cset "name='Mic Jack Switch' off" cset "name='DMIC Mux' DMIC" ] DisableSequence [ cset "name='Int Mic Switch' off" - cset "name='Mic Jack Switch' on" cset "name='DMIC Mux' ADC" ] @@ -120,13 +114,11 @@ SectionDevice."HeadsetMicrophone" { JackControl "Mic Jack" } EnableSequence [ - cset "name='Int Mic Switch' off" - cset "name='DMIC Mux' ADC" cset "name='Mic Jack Switch' on" + cset "name='DMIC Mux' ADC" ] DisableSequence [ cset "name='Mic Jack Switch' off" cset "name='DMIC Mux' DMIC" - cset "name='Int Mic Switch' on" ] -} +} \ No newline at end of file