提交 f41cc2a8 编写于 作者: V Vitaliy Kulikov 提交者: Takashi Iwai

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

Fix bug in switching between dmic and mic when both use the same mux.
Signed-off-by: NVitaliy Kulikov  <Vitaliy.Kulikov@idt.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 fec88dea
......@@ -3481,8 +3481,10 @@ 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册