From: Liam Girdwood Date: Fri, 16 May 2014 13:55:22 +0000 (+0300) Subject: ASoC: max98090: Mark cache as dirty prior to restoring X-Git-Tag: v3.16-rc1~12^2~24^2~30^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1c0bc9145f8abf0217fd71c09ff8c1e7f0671dd;p=platform%2Fkernel%2Flinux-stable.git ASoC: max98090: Mark cache as dirty prior to restoring Make sure the cache is fully flushed at resume time. Signed-off-by: Liam Girdwood Signed-off-by: Jarkko Nikula Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index 2888f63..c58dce4 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 */