From d5234685e67a0803718599a27008a50a6ec19482 Mon Sep 17 00:00:00 2001 From: Anton Bambura Date: Wed, 6 Jul 2022 21:32:01 +0300 Subject: [PATCH] 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 --- ucm2/Tegra/max98090/HiFi.conf | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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 -- 2.47.1