提交 25552e87 编写于 作者: M Mike Rapoport 提交者: Jaroslav Kysela

ALSA: ac97 - fix patch_ucb1400 for proper resume

Replace 'snd_ac97_write' with snd_ac97_write_cache' in pacth_ucb1400 to allow
proper codec wakeup.
Signed-off-by: NMike Rapoport <mike@compulab.co.il>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@perex.cz>
上级 6a9dccd6
......@@ -3710,7 +3710,7 @@ static int patch_ucb1400(struct snd_ac97 * ac97)
{
ac97->build_ops = &patch_ucb1400_ops;
/* enable headphone driver and smart low power mode by default */
snd_ac97_write(ac97, 0x6a, 0x0050);
snd_ac97_write(ac97, 0x6c, 0x0030);
snd_ac97_write_cache(ac97, 0x6a, 0x0050);
snd_ac97_write_cache(ac97, 0x6c, 0x0030);
return 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册