summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ab8500-codec.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-09-24 11:50:10 +0100
committerMark Brown <broonie@linaro.org>2013-09-24 12:02:49 +0100
commit2245e3c31c15c2d2a26926c4b734f4d3a37ae252 (patch)
tree52f049ba9be1e4be2ff37132b825669537c2d6c0 /sound/soc/codecs/ab8500-codec.c
parentff795d614bfa62a3c6fc0bcb75cb8842e5a87892 (diff)
downloadlinux-2245e3c31c15c2d2a26926c4b734f4d3a37ae252.tar.bz2
ASoC: ab8500: Explicitly set I/O up
We do some I/O in probe so we need to ensure the I/O operations are fully set up then. Reported-by: Olof Johansson <olof@lixom.net> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/ab8500-codec.c')
-rw-r--r--sound/soc/codecs/ab8500-codec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c
index d5a0fc4b2fe2..7f6ca111659b 100644
--- a/sound/soc/codecs/ab8500-codec.c
+++ b/sound/soc/codecs/ab8500-codec.c
@@ -2468,6 +2468,8 @@ static int ab8500_codec_probe(struct snd_soc_codec *codec)
dev_dbg(dev, "%s: Enter.\n", __func__);
+ snd_soc_codec_set_cache_io(codec, 0, 0, SND_SOC_REGMAP);
+
/* Setup AB8500 according to board-settings */
pdata = dev_get_platdata(dev->parent);