Skip to content

Commit

Permalink
ASoC: wm8996: Mark register cache as dirty when regulators are disabled
Browse files Browse the repository at this point in the history
Otherwise we won't resync later.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Jan 25, 2012
1 parent a188fcb commit 1b76d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8996.c
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
}
Expand Down

0 comments on commit 1b76d2e

Please sign in to comment.