summaryrefslogtreecommitdiff
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2014-05-16 16:55:22 +0300
committerMark Brown <broonie@linaro.org>2014-05-16 19:57:15 +0100
commitf1c0bc9145f8abf0217fd71c09ff8c1e7f0671dd (patch)
tree5d578b6b1273176e029f49df6bf11024ce6fe625 /sound/soc/codecs
parent46b0e97dcfdbb179b9992b6aec3eabb6095d8745 (diff)
ASoC: max98090: Mark cache as dirty prior to restoring
Make sure the cache is fully flushed at resume time. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/max98090.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index 2888f632564a..c58dce473e55 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -2398,6 +2398,8 @@ static int max98090_resume(struct device *dev)
struct max98090_priv *max98090 = dev_get_drvdata(dev);
unsigned int status;
+ regcache_mark_dirty(max98090->regmap);
+
max98090_reset(max98090);
/* clear IRQ status */