From fa68d0f2f3f76c02a80ce1e497eabb125bf7df3e Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Sat, 16 Jul 2011 03:12:18 +0900 Subject: [PATCH] --- yaml --- r: 257602 b: refs/heads/master c: f0f5039c3dcc6f80756128aa38f2a4f5b895bbf1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/wm8994.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a4f4d84d5772..06633c3b16c9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1479c3fb5f0ca8410428006cb04ca27263beea25 +refs/heads/master: f0f5039c3dcc6f80756128aa38f2a4f5b895bbf1 diff --git a/trunk/sound/soc/codecs/wm8994.c b/trunk/sound/soc/codecs/wm8994.c index ee64be2d9942..c749ef339665 100644 --- a/trunk/sound/soc/codecs/wm8994.c +++ b/trunk/sound/soc/codecs/wm8994.c @@ -1713,6 +1713,9 @@ static int _wm8994_set_fll(struct snd_soc_codec *codec, int id, int src, (fll.clk_ref_div << WM8994_FLL1_REFCLK_DIV_SHIFT) | (src - 1)); + /* Clear any pending completion from a previous failure */ + try_wait_for_completion(&wm8994->fll_locked[id]); + /* Enable (with fractional mode if required) */ if (freq_out) { if (fll.k)