24 Sep
2013
24 Sep
'13
1:56 p.m.
From: Mark Brown broonie@linaro.org
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 --- sound/soc/codecs/ab8500-codec.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c index ca500fd..a0394a8 100644 --- a/sound/soc/codecs/ab8500-codec.c +++ b/sound/soc/codecs/ab8500-codec.c @@ -2473,6 +2473,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);
--
1.8.4.rc3