[PATCH] Added double ac97 reset in pxa27x resume path.
Robert Jarzmik
rjarzmik at free.fr
Mon Apr 28 19:46:57 CEST 2008
Signed-off-by: Robert Jarzmik <rjarzmik at free.fr>
---
sound/soc/codecs/wm9713.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index 8ec7ce9..5defac8 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -977,6 +977,8 @@ static int wm9713_resume(struct platform_device *pdev)
/* give the codec an AC97 warm reset to start the link */
codec->ac97->bus->ops->reset(codec->ac97);
codec->ac97->bus->ops->warm_reset(codec->ac97);
+ codec->ac97->bus->ops->reset(codec->ac97);
+ codec->ac97->bus->ops->warm_reset(codec->ac97);
id = codec->soc_phys_read(codec->ac97, AC97_VENDOR_ID2);
if (id != 0x4c13) {
printk(KERN_ERR "wm9713 failed to resume");
--
1.5.5.3
--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline;
filename=0004-Include-shuffle-in-2.6.25-kernels.patch
More information about the Alsa-devel
mailing list