projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0641afa
)
MLK-11004-1: ASoC: cs42888: Add regcache mask dirty in suspend
author
Shengjiu Wang
<shengjiu.wang@freescale.com>
Wed, 20 May 2015 10:01:00 +0000
(18:01 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:12 +0000
(14:48 -0500)
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
)
sound/soc/codecs/cs42xx8.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42xx8.c
b/sound/soc/codecs/cs42xx8.c
index
790efca
..
db90764
100644
(file)
--- 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),