提交 cbd9cb5d 编写于 作者: J Jorge Eduardo Candelaria 提交者: Liam Girdwood

ASoC: twl6040: Increase timeout for power up

After coming back from suspend, the timeout waiting for Phoenix
chip to complete its power up sequence is not enough, which leaves
the codec cache value for some registers in an outdated state.

Increase the timeout value to wait for the power up sequence
to correclty complete.
Signed-off-by: NJorge Eduardo Candelaria <jorge.candelaria@ti.com>
Signed-off-by: NMargarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
上级 4f44ee1f
...@@ -752,7 +752,7 @@ static int twl6040_power_up_completion(struct snd_soc_codec *codec, ...@@ -752,7 +752,7 @@ static int twl6040_power_up_completion(struct snd_soc_codec *codec,
u8 intid; u8 intid;
time_left = wait_for_completion_timeout(&priv->ready, time_left = wait_for_completion_timeout(&priv->ready,
msecs_to_jiffies(48)); msecs_to_jiffies(144));
if (!time_left) { if (!time_left) {
twl_i2c_read_u8(TWL_MODULE_AUDIO_VOICE, &intid, twl_i2c_read_u8(TWL_MODULE_AUDIO_VOICE, &intid,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册