ALSA: Revert "ALSA: hda - Fix switching between dmic and mic using the same mux on...
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 Nov 2010 06:39:58 +0000 (07:39 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Nov 2010 06:39:58 +0000 (07:39 +0100)
This reverts commit f41cc2a85d52ac6971299922084ac5ac59dc339d.

The patch broke the digital mic pin handling wrongly.
Reference: bko#23162
https://bugzilla.kernel.org/show_bug.cgi?id=23162

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c

index cfd73afad882a3227690e0fe50c5a74b8628ce13..5c710807dfe588decaf764c29a618cd83711d3d8 100644 (file)
@@ -3491,10 +3491,8 @@ static int stac92xx_auto_create_dmic_input_ctls(struct hda_codec *codec,
                                return err;
                }
 
-               if (snd_hda_get_bool_hint(codec, "separate_dmux") != 1) {
+               if (snd_hda_get_bool_hint(codec, "separate_dmux") != 1)
                        snd_hda_add_imux_item(imux, label, index, NULL);
-                       spec->num_analog_muxes++;
-               }
        }
 
        return 0;