]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
tegra: max98090: use only needed switches
authorAnton Bambura <jenneron@protonmail.com>
Wed, 6 Jul 2022 18:32:01 +0000 (21:32 +0300)
committerJaroslav Kysela <perex@perex.cz>
Fri, 8 Jul 2022 14:59:51 +0000 (16:59 +0200)
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/173
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Tegra/max98090/HiFi.conf

index 93d32172255be3eff86fc1a022825fc433e4ebd1..6346bd812d5881bf21d1d18693045e4dc04cccc8 100644 (file)
@@ -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