Skip to content

Commit

Permalink
ASoC: wm8962: 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 1b76d2e commit 5539a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8962.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static int wm8962_regulator_event_##n(struct notifier_block *nb, \
struct wm8962_priv *wm8962 = container_of(nb, struct wm8962_priv, \
disable_nb[n]); \
if (event & REGULATOR_EVENT_DISABLE) { \
regcache_cache_only(wm8962->regmap, true); \
regcache_mark_dirty(wm8962->regmap); \
} \
return 0; \
}
Expand Down

0 comments on commit 5539a10

Please sign in to comment.