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:
1b76d2e
)
ASoC: wm8962: Mark register cache as dirty when regulators are disabled
author
Mark Brown
<
[email protected]
>
Wed, 25 Jan 2012 21:10:21 +0000
(21:10 +0000)
committer
Mark Brown
<
[email protected]
>
Wed, 25 Jan 2012 21:17:29 +0000
(21:17 +0000)
Otherwise we won't resync later.
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/wm8962.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8962.c
b/sound/soc/codecs/wm8962.c
index 296de4e30d26f49729cd25bc4c22134b01fb90aa..bda3da887d7e316c062c38a6a3d11426a008a42f 100644
(file)
--- a/
sound/soc/codecs/wm8962.c
+++ b/
sound/soc/codecs/wm8962.c
@@
-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; \
}