Skip to contentSkip to conversation

ASoC: wm8962: Redo early init of the part on resume

PATCH New Mark Brown 1 participant 1 message Jul 11, 2012

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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.

---
 sound/soc/codecs/wm8962.c |    3 +++
 1 file changed, 3 insertions(+)
sound/soc/codecs/wm8962.c +3 -0
index 5781581..6999f74 100644
@@ -3727,6 +3727,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,
Signature · 1 line
1.7.10