mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
ff795d614b
commit
2245e3c31c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue