[alsa-devel] [PATCH] ALSA: Initialize power-down register on AC97 codec wm9711/12/15.

m.kiepfer at fs-net.de m.kiepfer at fs-net.de
Tue Aug 7 16:14:01 CEST 2012


From: Martin Kiepfer <m.kiepfer at fs-net.de>

Signed-off-by: Martin Kiepfer <m.kiepfer at fs-net.de>
---
 sound/pci/ac97/ac97_patch.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index a872d0a..b8e493ac 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -697,6 +697,8 @@ static int patch_wolfson11(struct snd_ac97 * ac97)
 
 	ac97->flags |= AC97_HAS_NO_REC_GAIN | AC97_STEREO_MUTES | AC97_HAS_NO_MIC |
 		AC97_HAS_NO_PC_BEEP | AC97_HAS_NO_VIDEO | AC97_HAS_NO_CD;
+
+	snd_ac97_write_cache(ac97, AC97_POWERDOWN, 0);
 	
 	return 0;
 }
-- 
1.7.4.4



More information about the Alsa-devel mailing list