]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: enable possible SOF support in profile for Chromebook Asus C300
authorJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2020 19:07:45 +0000 (21:07 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2020 19:10:07 +0000 (21:10 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/chtmax98090/HiFi-Quawks.conf

index 37d5821306573fbbfb98ee48030162b41e0f0e8f..363233ddbc5434e5ea76fb28972c8bde49311c34 100644 (file)
@@ -3,8 +3,19 @@ SectionVerb {
                TQ "HiFi"
        }
 
+       If.platform {
+               Condition {
+                       Type ControlExists
+                       Control "name='media0_in Gain 0 Switch'"
+               }
+               True {
+                       EnableSequence [
+                               <platforms/bytcr/PlatformEnableSeq.conf>
+                       ]
+               }
+       }
+
        EnableSequence [
-               <platforms/bytcr/PlatformEnableSeq.conf>
                <codecs/max98090/EnableSeq.conf>
                # volume values modified
                cset "name='Headphone Volume' 25"