Commit f1c0bc91 authored by Liam Girdwood's avatar Liam Girdwood Committed by Mark Brown

ASoC: max98090: Mark cache as dirty prior to restoring

Make sure the cache is fully flushed at resume time.
Signed-off-by: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 46b0e97d
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment