提交 eed65649 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] Add a workaround for ASUS A6KM

Added a workaround for ASUS A6KM board that requires EAPD
rather than SPDIF-in.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 886da867
......@@ -2048,7 +2048,10 @@ int patch_alc650(struct snd_ac97 * ac97)
/* Enable SPDIF-IN only on Rev.E and above */
val = snd_ac97_read(ac97, AC97_ALC650_CLOCK);
/* SPDIF IN with pin 47 */
if (ac97->spec.dev_flags)
if (ac97->spec.dev_flags &&
/* ASUS A6KM requires EAPD */
! (ac97->subsystem_vendor == 0x1043 &&
ac97->subsystem_device == 0x1103))
val |= 0x03; /* enable */
else
val &= ~0x03; /* disable */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册