commit: e4dd76788c7e5b27165890d712c8c4f6f0abd645
From: Mark Brown <[email protected]>
Date: Wed, 11 Jul 2012 19:03:48 +0100
Subject: ASoC: wm8962: Redo early init of the part on resume

Ensure robust startup of the part by going through the reset procedure
prior to resyncing the full register cache, avoiding potential intermittent
faults in some designs.

Signed-off-by: Mark Brown <[email protected]>
Cc: [email protected]
---
 sound/soc/codecs/wm8962.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index beb709b..eaf6586 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -3725,6 +3725,9 @@ static int wm8962_runtime_resume(struct device *dev)
        }
 
        regcache_cache_only(wm8962->regmap, false);
+
+       wm8962_reset(wm8962);
+
        regcache_sync(wm8962->regmap);
 
        regmap_update_bits(wm8962->regmap, WM8962_ANTI_POP,
-- 
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to