[PATCH] Added double ac97 reset in pxa27x resume path.
Signed-off-by: Robert Jarzmik rjarzmik@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");
participants (1)
-
Robert Jarzmik