aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2008-07-02 06:19:23 -0400
committerJaroslav Kysela <perex@perex.cz>2008-07-10 03:32:07 -0400
commit25552e87aa4102f048f1a8a8ddc87c96593c304e (patch)
treebffe1b9a9b54ff79d4ac8d6f4f4df1e9403ad694 /sound/pci/ac97
parent6a9dccd61253f361760802d8d19c28fa83ea83f5 (diff)
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: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/ac97')
-rw-r--r--sound/pci/ac97/ac97_patch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index abe88adec37e..0746e9ccc20b 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -3710,7 +3710,7 @@ static int patch_ucb1400(struct snd_ac97 * ac97)
3710{ 3710{
3711 ac97->build_ops = &patch_ucb1400_ops; 3711 ac97->build_ops = &patch_ucb1400_ops;
3712 /* enable headphone driver and smart low power mode by default */ 3712 /* enable headphone driver and smart low power mode by default */
3713 snd_ac97_write(ac97, 0x6a, 0x0050); 3713 snd_ac97_write_cache(ac97, 0x6a, 0x0050);
3714 snd_ac97_write(ac97, 0x6c, 0x0030); 3714 snd_ac97_write_cache(ac97, 0x6c, 0x0030);
3715 return 0; 3715 return 0;
3716} 3716}