ASoC: cs42xx8: Add regcache mask dirty
diff mbox series

Message ID
State New
Headers show
  • ASoC: cs42xx8: Add regcache mask dirty
Related show

Commit Message

Shengjiu Wang May 16, 2019, 6:04 a.m. UTC
Add regcache_mark_dirty before regcache_sync for power
of codec may be lost at suspend, then all the register
need to be reconfigured.

Fixes: 0c516b4ff85c ("ASoC: cs42xx8: Add codec driver
support for CS42448/CS42888")
Cc: <>
Signed-off-by: Shengjiu Wang <>
 sound/soc/codecs/cs42xx8.c | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c
index ebb9e0cf8364..28a4ac36c4f8 100644
--- a/sound/soc/codecs/cs42xx8.c
+++ b/sound/soc/codecs/cs42xx8.c
@@ -558,6 +558,7 @@  static int cs42xx8_runtime_resume(struct device *dev)
 	regcache_cache_only(cs42xx8->regmap, false);
+	regcache_mark_dirty(cs42xx8->regmap);
 	ret = regcache_sync(cs42xx8->regmap);
 	if (ret) {