[PATCH] Dirty hack to workaround pxa27x buggy hardreset.

Robert Jarzmik rjarzmik at free.fr
Fri Apr 25 22:48:39 CEST 2008


Signed-off-by: Robert Jarzmik <rjarzmik at free.fr>
---
 sound/soc/codecs/wm9713.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index 2cb4fb8..8ec7ce9 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -975,6 +975,7 @@ static int wm9713_resume(struct platform_device *pdev)
 	u16 id;
 
 	/* 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);
 	id = codec->soc_phys_read(codec->ac97, AC97_VENDOR_ID2); 
 	if (id != 0x4c13) {
-- 
1.5.5.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline;
 filename=0003-Added-double-ac97-reset-in-pxa27x-resume-path.patch



More information about the Alsa-devel mailing list