summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-03 12:26:40 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-03 12:26:40 -0800
commit63fb1539735afe7c76e7ccdf1999f1fc0d7434e1 (patch)
treef0120228f1957415a0dc1c03f90a6ff3906b9183
parent69bade053d0f2ef0c8ee98af9f6699a55a8d8bb9 (diff)
Revert "ASoC: Mark WM5100 register map cache only when going into BIAS_OFF"
This reverts commit 11a17e56ac9c607c6eaecf64b618cd17c828ade0 (e53e417331c57b9b97e3f8be870214a02c99265c upstream) as it breaks the build. Reported-by: Tim Gardner <rtg.canonical@gmail.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--sound/soc/codecs/wm5100.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index d0beeec9b045..c745ce83fb80 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -1406,7 +1406,6 @@ static int wm5100_set_bias_level(struct snd_soc_codec *codec,
break;
case SND_SOC_BIAS_OFF:
- regcache_cache_only(wm5100->regmap, true);
if (wm5100->pdata.ldo_ena)
gpio_set_value_cansleep(wm5100->pdata.ldo_ena, 0);
regulator_bulk_disable(ARRAY_SIZE(wm5100->core_supplies),