提交 268ff6fb 编写于 作者: T Takashi Iwai

ALSA: hda - Fix auto-mic detection in Realtek codec-parser

A regression fix from commit 21268961
  ALSA: hda - More flexible dynamic-ADC switching for Realtek codecs

The auto-mic wasn't detected properly when no ADC-switch is needed.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 28dc10a5
......@@ -958,7 +958,7 @@ static bool alc_check_dyn_adc_switch(struct hda_codec *codec)
break;
}
if (i >= imux->num_items)
return false; /* no ADC-switch is needed */
return true; /* no ADC-switch is needed */
}
for (i = 0; i < imux->num_items; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册