]> git.alsa-project.org Git - alsa-lib.git/commitdiff
conf: topology: Fix index mismatch for skl and bxt
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Wed, 10 May 2017 08:16:53 +0000 (13:46 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 May 2017 08:40:04 +0000 (10:40 +0200)
The topology index in the conf is set to 1, where the driver expects index
set to 0. Fix the inconsistency.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/conf/topology/bxtrt298/bxt_i2s.conf
src/conf/topology/sklrt286/skl_i2s.conf

index 3b7a54e3a3236b9251fdde23aa0391317ecf7dc9..6b38f4f3c5aec77b5066cf412654cd7a818bb588 100644 (file)
@@ -2924,7 +2924,7 @@ SectionData."lib_data" {
 
 
 SectionControlMixer."media0_in mi Switch" {
-       index"1"
+       index"0"
        invert "false"
        max "1"
        min"0"
@@ -2944,7 +2944,7 @@ SectionControlMixer."media0_in mi Switch" {
        }
 }
 SectionControlMixer."dmic01_hifi_in mi Switch" {
-       index"1"
+       index"0"
        invert "false"
        max "1"
        min"0"
@@ -2964,7 +2964,7 @@ SectionControlMixer."dmic01_hifi_in mi Switch" {
        }
 }
 SectionControlMixer."codec0_in mi Switch" {
-       index"1"
+       index"0"
        invert "false"
        max "1"
        min"0"
@@ -2986,7 +2986,7 @@ SectionControlMixer."codec0_in mi Switch" {
 
 
 SectionWidget."media0_in cpr 0" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -2998,7 +2998,7 @@ SectionWidget."media0_in cpr 0" {
        ]
 }
 SectionWidget."media0_in mi" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -3011,7 +3011,7 @@ SectionWidget."media0_in mi" {
        ]
 }
 SectionWidget."codec0_in cpr 1" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -3023,7 +3023,7 @@ SectionWidget."codec0_in cpr 1" {
        ]
 }
 SectionWidget."codec0_in mi" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -3036,12 +3036,12 @@ SectionWidget."codec0_in mi" {
        ]
 }
 SectionWidget."codec0_in" {
-       index"1"
+       index"0"
        type"aif_in"
        no_pm "true"
 }
 SectionWidget."codec0_out mo" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "1"
@@ -3059,7 +3059,7 @@ SectionWidget."codec0_out mo" {
        ]
 }
 SectionWidget."codec0_out cpr 2" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -3070,12 +3070,12 @@ SectionWidget."codec0_out cpr 2" {
        ]
 }
 SectionWidget."codec0_out" {
-       index"1"
+       index"0"
        type"aif_out"
        no_pm "true"
 }
 SectionWidget."media0_out mo" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "1"
@@ -3093,7 +3093,7 @@ SectionWidget."media0_out mo" {
        ]
 }
 SectionWidget."media0_out cpr 3" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -3104,7 +3104,7 @@ SectionWidget."media0_out cpr 3" {
        ]
 }
 SectionWidget."dmic01_hifi_in cpr 4" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -3116,7 +3116,7 @@ SectionWidget."dmic01_hifi_in cpr 4" {
        ]
 }
 SectionWidget."dmic01_hifi_in mi" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -3129,12 +3129,12 @@ SectionWidget."dmic01_hifi_in mi" {
        ]
 }
 SectionWidget."dmic01_hifi" {
-       index"1"
+       index"0"
        type"aif_in"
        no_pm "true"
 }
 SectionWidget."codec1_out mo" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "1"
@@ -3152,7 +3152,7 @@ SectionWidget."codec1_out mo" {
        ]
 }
 SectionWidget."codec1_out cpr 5" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -3163,12 +3163,12 @@ SectionWidget."codec1_out cpr 5" {
        ]
 }
 SectionWidget."codec1_out" {
-       index"1"
+       index"0"
        type"aif_out"
        no_pm "true"
 }
 SectionWidget."hdmi1_pt_out cpr 6" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -3180,7 +3180,7 @@ SectionWidget."hdmi1_pt_out cpr 6" {
        ]
 }
 SectionWidget."hdmi1_pt_out cpr 7" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -3191,12 +3191,12 @@ SectionWidget."hdmi1_pt_out cpr 7" {
        ]
 }
 SectionWidget."iDisp1_out" {
-       index"1"
+       index"0"
        type"aif_out"
        no_pm "true"
 }
 SectionWidget."hdmi2_pt_out cpr 8" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -3208,7 +3208,7 @@ SectionWidget."hdmi2_pt_out cpr 8" {
        ]
 }
 SectionWidget."hdmi2_pt_out cpr 9" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -3219,12 +3219,12 @@ SectionWidget."hdmi2_pt_out cpr 9" {
        ]
 }
 SectionWidget."iDisp2_out" {
-       index"1"
+       index"0"
        type"aif_out"
        no_pm "true"
 }
 SectionWidget."hdmi3_pt_out cpr 10" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -3236,7 +3236,7 @@ SectionWidget."hdmi3_pt_out cpr 10" {
        ]
 }
 SectionWidget."hdmi3_pt_out cpr 11" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -3247,12 +3247,12 @@ SectionWidget."hdmi3_pt_out cpr 11" {
        ]
 }
 SectionWidget."iDisp3_out" {
-       index"1"
+       index"0"
        type"aif_out"
        no_pm "true"
 }
 SectionWidget."mch_cap_in cpr 12" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -3264,7 +3264,7 @@ SectionWidget."mch_cap_in cpr 12" {
        ]
 }
 SectionWidget."mch_cap_in cpr 13" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -3283,7 +3283,7 @@ SectionManifest."lib_data" {
 }
 
 SectionGraph."Pipeline 1 Graph" {
-       index"1"
+       index"0"
        lines [
                "media0_in mi, , media0_in cpr 0"
                "media0_in cpr 0, , System Playback"
index bb1fe4f8435f2043edfae022874dd2ad3d966db5..fbf041bfd0cf519591ecea35816d6ce66705b715 100644 (file)
@@ -2604,7 +2604,7 @@ SectionData."hdmi3_pt_out cpr 12" {
 
 
 SectionControlMixer."media0_in mi Switch" {
-       index"1"
+       index"0"
        invert "false"
        max "1"
        min"0"
@@ -2624,7 +2624,7 @@ SectionControlMixer."media0_in mi Switch" {
        }
 }
 SectionControlMixer."codec0_in mi Switch" {
-       index"1"
+       index"0"
        invert "false"
        max "1"
        min"0"
@@ -2644,7 +2644,7 @@ SectionControlMixer."codec0_in mi Switch" {
        }
 }
 SectionControlMixer."dmic01_hifi_in mi Switch" {
-       index"1"
+       index"0"
        invert "false"
        max "1"
        min"0"
@@ -2666,7 +2666,7 @@ SectionControlMixer."dmic01_hifi_in mi Switch" {
 
 
 SectionWidget."media0_in cpr 0" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -2678,7 +2678,7 @@ SectionWidget."media0_in cpr 0" {
        ]
 }
 SectionWidget."media0_in mi" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -2691,7 +2691,7 @@ SectionWidget."media0_in mi" {
        ]
 }
 SectionWidget."media0_out mo" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "1"
@@ -2709,7 +2709,7 @@ SectionWidget."media0_out mo" {
        ]
 }
 SectionWidget."media0_out cpr 6" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -2720,7 +2720,7 @@ SectionWidget."media0_out cpr 6" {
        ]
 }
 SectionWidget."codec0_out mo" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "1"
@@ -2738,7 +2738,7 @@ SectionWidget."codec0_out mo" {
        ]
 }
 SectionWidget."codec0_out cpr 4" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -2749,12 +2749,12 @@ SectionWidget."codec0_out cpr 4" {
        ]
 }
 SectionWidget."codec0_out" {
-       index"1"
+       index"0"
        type"aif_out"
        no_pm "true"
 }
 SectionWidget."codec1_out mo" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "1"
@@ -2772,7 +2772,7 @@ SectionWidget."codec1_out mo" {
        ]
 }
 SectionWidget."codec1_out cpr 5" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -2783,12 +2783,12 @@ SectionWidget."codec1_out cpr 5" {
        ]
 }
 SectionWidget."codec1_out" {
-       index"1"
+       index"0"
        type"aif_out"
        no_pm "true"
 }
 SectionWidget."codec0_in cpr 1" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -2800,7 +2800,7 @@ SectionWidget."codec0_in cpr 1" {
        ]
 }
 SectionWidget."codec0_in mi" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -2813,12 +2813,12 @@ SectionWidget."codec0_in mi" {
        ]
 }
 SectionWidget."codec0_in" {
-       index"1"
+       index"0"
        type"aif_in"
        no_pm "true"
 }
 SectionWidget."dmic01_hifi_in cpr 3" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -2830,7 +2830,7 @@ SectionWidget."dmic01_hifi_in cpr 3" {
        ]
 }
 SectionWidget."dmic01_hifi_in mi" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -2843,12 +2843,12 @@ SectionWidget."dmic01_hifi_in mi" {
        ]
 }
 SectionWidget."dmic01_hifi" {
-       index"1"
+       index"0"
        type"aif_in"
        no_pm "true"
 }
 SectionWidget."hdmi1_pt_out cpr 7" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -2860,7 +2860,7 @@ SectionWidget."hdmi1_pt_out cpr 7" {
        ]
 }
 SectionWidget."hdmi1_pt_out cpr 8" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -2871,12 +2871,12 @@ SectionWidget."hdmi1_pt_out cpr 8" {
        ]
 }
 SectionWidget."iDisp1_out" {
-       index"1"
+       index"0"
        type"aif_out"
        no_pm "true"
 }
 SectionWidget."hdmi2_pt_out cpr 9" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -2888,7 +2888,7 @@ SectionWidget."hdmi2_pt_out cpr 9" {
        ]
 }
 SectionWidget."hdmi2_pt_out cpr 10" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -2899,12 +2899,12 @@ SectionWidget."hdmi2_pt_out cpr 10" {
        ]
 }
 SectionWidget."iDisp2_out" {
-       index"1"
+       index"0"
        type"aif_out"
        no_pm "true"
 }
 SectionWidget."hdmi3_pt_out cpr 11" {
-       index"1"
+       index"0"
        type"mixer"
        no_pm "true"
        event_type "3"
@@ -2916,7 +2916,7 @@ SectionWidget."hdmi3_pt_out cpr 11" {
        ]
 }
 SectionWidget."hdmi3_pt_out cpr 12" {
-       index"1"
+       index"0"
        type"pga"
        no_pm "true"
        event_type "4"
@@ -2927,7 +2927,7 @@ SectionWidget."hdmi3_pt_out cpr 12" {
        ]
 }
 SectionGraph."Pipeline 1 Graph" {
-       index"1"
+       index"0"
        lines [
                "media0_in mi, , media0_in cpr 0"
                "media0_in cpr 0, , System Playback"