diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-25 21:10:07 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-25 21:17:28 +0000 |
commit | 1b76d2ee4012f325ae14e0e71dad1a0835195906 (patch) | |
tree | 52b44753ba0ab525a0d2a1b137314ee9deded7fb /sound | |
parent | a188fcba73837f83a78dc90a44998a978f50ac83 (diff) | |
download | linux-1b76d2ee4012f325ae14e0e71dad1a0835195906.tar.bz2 |
ASoC: wm8996: Mark register cache as dirty when regulators are disabled
Otherwise we won't resync later.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8996.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c index 13aa2bdaa7d7..61f7daa4d0e6 100644 --- a/sound/soc/codecs/wm8996.c +++ b/sound/soc/codecs/wm8996.c @@ -108,7 +108,7 @@ static int wm8996_regulator_event_##n(struct notifier_block *nb, \ struct wm8996_priv *wm8996 = container_of(nb, struct wm8996_priv, \ disable_nb[n]); \ if (event & REGULATOR_EVENT_DISABLE) { \ - regcache_cache_only(wm8996->regmap, true); \ + regcache_mark_dirty(wm8996->regmap); \ } \ return 0; \ } |