ASoC: max98090: Mark cache as dirty prior to restoring
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Fri, 16 May 2014 13:55:22 +0000 (16:55 +0300)
committerMark Brown <broonie@linaro.org>
Fri, 16 May 2014 18:57:15 +0000 (19:57 +0100)
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>
sound/soc/codecs/max98090.c

index 2888f63..c58dce4 100644 (file)
@@ -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 */