[prev in list] [next in list] [prev in thread] [next in thread]
List: alsa-devel
Subject: [PATCH] Added double ac97 reset in pxa27x resume path.
From: rjarzmik () free ! fr (Robert Jarzmik)
Date: 2008-04-28 17:46:57
Message-ID: mailman.7.1214164018.2146.alsa-devel () alsa-project ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic