提交 631fcab2 编写于 作者: D Dimitris Papastamos 提交者: Mark Brown

ASoC: wm0010: Up the completion timeout to 20ms instead of 10ms

Increase timeout to be more reliable and avoid the chance of
missing interrupts during boot.
Signed-off-by: NDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 3f5475df
......@@ -614,7 +614,7 @@ static int wm0010_boot(struct snd_soc_codec *codec)
}
if (!wait_for_completion_timeout(&wm0010->boot_completion,
msecs_to_jiffies(10)))
msecs_to_jiffies(20)))
dev_err(codec->dev, "Failed to get interrupt from DSP\n");
spin_lock_irqsave(&wm0010->irq_lock, flags);
......@@ -626,7 +626,7 @@ static int wm0010_boot(struct snd_soc_codec *codec)
goto abort;
if (!wait_for_completion_timeout(&wm0010->boot_completion,
msecs_to_jiffies(10)))
msecs_to_jiffies(20)))
dev_err(codec->dev, "Failed to get interrupt from DSP loader.\n");
spin_lock_irqsave(&wm0010->irq_lock, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册