提交 27439ce7 编写于 作者: L Lydia Wang 提交者: Takashi Iwai

ALSA: hda - VIA: Add VT1802 check in via_speaker_automute function

Add VT1802 check in via_speaker_automute() function.
Signed-off-by: NLydia Wang <lydiawang@viatech.com.cn>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 e87885fe
......@@ -1685,7 +1685,7 @@ static void via_speaker_automute(struct hda_codec *codec)
unsigned int hp_present;
struct via_spec *spec = codec->spec;
if (spec->codec_type != VT2002P && spec->codec_type != VT1812)
if (!VT2002P_COMPATIBLE(spec))
return;
hp_present = snd_hda_jack_detect(codec, spec->autocfg.hp_pins[0]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册