summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.c
diff options
context:
space:
mode:
authorMark Brown2012-12-06 07:29:34 +0100
committerMark Brown2012-12-06 08:52:36 +0100
commit09871a942ab71fb06ceb7f0a4d38ea62fe7459ec (patch)
tree55c7838134103466dcc03864161d96e5b36cd65a /sound/soc/codecs/arizona.c
parentASoC: wm5110: Add LHPF coefficient configuration (diff)
downloadkernel-qcow2-linux-09871a942ab71fb06ceb7f0a4d38ea62fe7459ec.tar.gz
kernel-qcow2-linux-09871a942ab71fb06ceb7f0a4d38ea62fe7459ec.tar.xz
kernel-qcow2-linux-09871a942ab71fb06ceb7f0a4d38ea62fe7459ec.zip
ASoC: arizona: Make FLL lock timeout very high
Provide robustness against low quality FLL sync clocks by increasing the timeout for lock to an absurdly high point; we should never get anywhere near hitting the timeout in a real system unless it is failing. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/arizona.c')
-rw-r--r--sound/soc/codecs/arizona.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index bf6844389ebf..49d115205810 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -1016,7 +1016,7 @@ int arizona_set_fll(struct arizona_fll *fll, int source,
ARIZONA_FLL1_SYNC_ENA);
ret = wait_for_completion_timeout(&fll->ok,
- msecs_to_jiffies(25));
+ msecs_to_jiffies(250));
if (ret == 0)
arizona_fll_warn(fll, "Timed out waiting for lock\n");