Commit d090f597 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: Revert "ALSA: hda - Fix switching between dmic and mic using the same mux on IDT/STAC"

This reverts commit f41cc2a8.

The patch broke the digital mic pin handling wrongly.
Reference: bko#23162
	https://bugzilla.kernel.org/show_bug.cgi?id=23162Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 01e0f137
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment