projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a188fcb
)
ASoC: wm8996: Mark register cache as dirty when regulators are disabled
author
Mark Brown
<
[email protected]
>
Wed, 25 Jan 2012 21:10:07 +0000
(21:10 +0000)
committer
Mark Brown
<
[email protected]
>
Wed, 25 Jan 2012 21:17:28 +0000
(21:17 +0000)
Otherwise we won't resync later.
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/wm8996.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8996.c
b/sound/soc/codecs/wm8996.c
index 13aa2bdaa7d7a09a35c405e6aa2a88efecdbc7e3..61f7daa4d0e681571222fce0910ab148e8b0f18a 100644
(file)
--- 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; \
}