summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-11-15 11:20:16 +0100
committerMark Brown <broonie@linaro.org>2013-11-15 11:20:16 +0100
commita190f7867e1830a2d4c890c00b27465b863f5f59 (patch)
tree2dcdadb43b8caef3c28057baaf94289e688a3947 /sound
parentMerge remote-tracking branch 'asoc/fix/fsl' into asoc-linus (diff)
parentASoC: wm8962: Turn on regcache_cache_only before disabling regulator (diff)
downloadlinux-a190f7867e1830a2d4c890c00b27465b863f5f59.tar.xz
linux-a190f7867e1830a2d4c890c00b27465b863f5f59.zip
Merge remote-tracking branch 'asoc/fix/wm8962' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8962.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 3a2f96c5442c..48dce72fed1d 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -3728,6 +3728,8 @@ static int wm8962_i2c_probe(struct i2c_client *i2c,
if (ret < 0)
goto err_enable;
+ regcache_cache_only(wm8962->regmap, true);
+
/* The drivers should power up as needed */
regulator_bulk_disable(ARRAY_SIZE(wm8962->supplies), wm8962->supplies);