提交 52d3cb88 编写于 作者: T Takashi Iwai

ALSA: hda - Fix initialization of spec->automute_lines in patch_realtek.c

spec->automute_lines shouldn't be set unless the line-detection is
available.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 1682c817
......@@ -1584,7 +1584,7 @@ static void alc_init_auto_hp(struct hda_codec *codec)
AC_USRSP_EN | ALC880_FRONT_EVENT);
spec->detect_line = 1;
}
spec->automute_lines = 1;
spec->automute_lines = spec->detect_line;
}
if (spec->automute) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册