aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8962.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index a0c895b2d53b..91d3c6dbeba3 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -2366,15 +2366,14 @@ static int sysclk_event(struct snd_soc_dapm_widget *w,
2366 2366
2367 snd_soc_update_bits(codec, WM8962_FLL_CONTROL_1, 2367 snd_soc_update_bits(codec, WM8962_FLL_CONTROL_1,
2368 WM8962_FLL_ENA, WM8962_FLL_ENA); 2368 WM8962_FLL_ENA, WM8962_FLL_ENA);
2369 if (wm8962->irq) { 2369
2370 timeout = msecs_to_jiffies(5); 2370 timeout = msecs_to_jiffies(5);
2371 timeout = wait_for_completion_timeout(&wm8962->fll_lock, 2371 timeout = wait_for_completion_timeout(&wm8962->fll_lock,
2372 timeout); 2372 timeout);
2373 2373
2374 if (timeout == 0) 2374 if (wm8962->irq && timeout == 0)
2375 dev_err(codec->dev, 2375 dev_err(codec->dev,
2376 "Timed out starting FLL\n"); 2376 "Timed out starting FLL\n");
2377 }
2378 } 2377 }
2379 break; 2378 break;
2380 2379