Commit 76755359 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda/conexant - Enable ADC-switching for auto-mic mode, too

The ADC-switching can work also in the auto-mic mode, too.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1f015f5f
...@@ -3866,7 +3866,7 @@ static void cx_auto_parse_input(struct hda_codec *codec) ...@@ -3866,7 +3866,7 @@ static void cx_auto_parse_input(struct hda_codec *codec)
} }
if (imux->num_items >= 2 && cfg->num_inputs == imux->num_items) if (imux->num_items >= 2 && cfg->num_inputs == imux->num_items)
cx_auto_check_auto_mic(codec); cx_auto_check_auto_mic(codec);
if (imux->num_items > 1 && !spec->auto_mic) { if (imux->num_items > 1) {
for (i = 1; i < imux->num_items; i++) { for (i = 1; i < imux->num_items; i++) {
if (spec->imux_info[i].adc != spec->imux_info[0].adc) { if (spec->imux_info[i].adc != spec->imux_info[0].adc) {
spec->adc_switching = 1; spec->adc_switching = 1;
......
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