提交 2a22d3f8 编写于 作者: T Takashi Iwai

ALSA: hda - Use only one capture stream for auto-mic

When the auto-mic feature is enabled, we should support only one
capture stream.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 6c819492
......@@ -4683,8 +4683,10 @@ static void set_capture_mixer(struct alc_spec *spec)
};
if (spec->num_adc_nids > 0 && spec->num_adc_nids <= 3) {
int mux;
if (spec->input_mux && spec->input_mux->num_items > 1 &&
!spec->auto_mic)
if (spec->auto_mic) {
mux = 0;
spec->num_adc_nids = 1; /* support only one ADC */
} else if (spec->input_mux && spec->input_mux->num_items > 1)
mux = 1;
else
mux = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册