alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ASoC: wm8996: Mark register cache as dirty when regulators are disabled
@ 2012-01-25 21:14 Mark Brown
  2012-01-25 21:14 ` [PATCH 2/3] ASoC: wm8962: " Mark Brown
  2012-01-25 21:14 ` [PATCH 3/3] ASoC: wm5100: " Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Brown @ 2012-01-25 21:14 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown

Otherwise we won't resync later.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 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 e4fa104..4062679 100644
--- a/sound/soc/codecs/wm8996.c
+++ b/sound/soc/codecs/wm8996.c
@@ -104,7 +104,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; \
 }
-- 
1.7.9.rc1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/3] ASoC: wm8962: Mark register cache as dirty when regulators are disabled
  2012-01-25 21:14 [PATCH 1/3] ASoC: wm8996: Mark register cache as dirty when regulators are disabled Mark Brown
@ 2012-01-25 21:14 ` Mark Brown
  2012-01-25 21:14 ` [PATCH 3/3] ASoC: wm5100: " Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2012-01-25 21:14 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown

Otherwise we won't resync later.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8962.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index f1fd630..59518a9 100644
--- 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; \
 }
-- 
1.7.9.rc1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 3/3] ASoC: wm5100: Mark register cache as dirty when regulators are disabled
  2012-01-25 21:14 [PATCH 1/3] ASoC: wm8996: Mark register cache as dirty when regulators are disabled Mark Brown
  2012-01-25 21:14 ` [PATCH 2/3] ASoC: wm8962: " Mark Brown
@ 2012-01-25 21:14 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2012-01-25 21:14 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown

Otherwise we won't resync later.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm5100.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index 51b281b..273093f 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -1376,6 +1376,7 @@ static int wm5100_set_bias_level(struct snd_soc_codec *codec,
 
 	case SND_SOC_BIAS_OFF:
 		regcache_cache_only(wm5100->regmap, true);
+		regcache_mark_dirty(wm5100->regmap);
 		for (i = 0; i < ARRAY_SIZE(wm5100->adsp1); i++)
 			wm_adsp1_reinit(wm5100->adsp1[i]);
 		regcache_cache_only(wm5100->regmap, true);
-- 
1.7.9.rc1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-25 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-25 21:14 [PATCH 1/3] ASoC: wm8996: Mark register cache as dirty when regulators are disabled Mark Brown
2012-01-25 21:14 ` [PATCH 2/3] ASoC: wm8962: " Mark Brown
2012-01-25 21:14 ` [PATCH 3/3] ASoC: wm5100: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).