projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b0e97
)
ASoC: max98090: Mark cache as dirty prior to restoring
author
Liam Girdwood
<liam.r.girdwood@linux.intel.com>
Fri, 16 May 2014 13:55:22 +0000
(16:55 +0300)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/max98090.c
b/sound/soc/codecs/max98090.c
index 2888f632564ae1fd851b280b6d84361f1a2dc4cc..c58dce473e55c0cec9968df6c5b444275ec254c5 100644
(file)
--- 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 */