projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff795d6
)
ASoC: ab8500: Explicitly set I/O up
author
Mark Brown
<broonie@linaro.org>
Tue, 24 Sep 2013 10:50:10 +0000
(11:50 +0100)
committer
Mark Brown
<broonie@linaro.org>
Tue, 24 Sep 2013 11:02:49 +0000
(12:02 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/ab8500-codec.c
b/sound/soc/codecs/ab8500-codec.c
index d5a0fc4b2fe2590e00ce6eece8e01db65a2f1ee1..7f6ca111659b9741004af9f1dee7fd0f426762e5 100644
(file)
--- 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);