diff options
author | Shengjiu Wang <shengjiu.wang@freescale.com> | 2015-05-20 18:01:00 +0800 |
---|---|---|
committer | Octavian Purdila <octavian.purdila@nxp.com> | 2017-02-23 14:21:42 +0200 |
commit | 310c7abc16d7dbb8870ec827a507405a6217e4f8 (patch) | |
tree | 92a162c088c1b4cb771ea70a5396bf214858f29f | |
parent | f018bffe900be9b5e3cdb26f2a51bc803beb97a9 (diff) |
MLK-11004-1: ASoC: cs42888: Add regcache mask dirty in suspend
Add regcache mask dirty in suspend, otherwise the register is not
synced with cache in resume.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 9687aa5bbf5dd91b57f6e8b4b8ce69bf20e29c43)
-rw-r--r-- | sound/soc/codecs/cs42xx8.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c index 790efca72dc8..db90764cdd51 100644 --- a/sound/soc/codecs/cs42xx8.c +++ b/sound/soc/codecs/cs42xx8.c @@ -661,6 +661,7 @@ static int cs42xx8_runtime_suspend(struct device *dev) { struct cs42xx8_priv *cs42xx8 = dev_get_drvdata(dev); + regcache_mark_dirty(cs42xx8->regmap); regcache_cache_only(cs42xx8->regmap, true); regulator_bulk_disable(ARRAY_SIZE(cs42xx8->supplies), |