]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
bytcr-rt5651: fix the cfg-mic:in1 / cfg-mic:in12 match error
authorJaroslav Kysela <perex@perex.cz>
Mon, 25 May 2020 15:03:03 +0000 (17:03 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 25 May 2020 15:03:03 +0000 (17:03 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/bytcr-rt5651/HiFi-Components.conf

index d0a573ef2cba89b3db89ab74cbc727cbab3d7c03..966e8797f6b776258b2fdf8852b4c32d5265fd55 100644 (file)
@@ -50,17 +50,6 @@ If.dmic {
        }
 }
 
-If.in1 {
-       Condition {
-               Type String
-               Haystack "${CardComponents}"
-               Needle "cfg-mic:in1"
-       }
-       True {
-               <codecs/rt5651/IN1-InternalMic.conf>
-       }
-}
-
 If.in2 {
        Condition {
                Type String
@@ -81,4 +70,16 @@ If.in12 {
        True {
                <codecs/rt5651/IN12-InternalMic.conf>
        }
+       False {
+               If.in1 {
+                       Condition {
+                               Type String
+                               Haystack "${CardComponents}"
+                               Needle "cfg-mic:in1"
+                       }
+                       True {
+                               <codecs/rt5651/IN1-InternalMic.conf>
+                       }
+               }
+       }
 }