From c7ebf932e5afa9caf8720435519b857b5d6e63bc Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 12 Jul 2011 19:47:59 +0900 Subject: ASoC: Use WM8994 FLL lock interrupt If we have interrupts then wait for the FLL lock interrupt rather than using dead reckoning when waiting for the FLL to start. Signed-off-by: Mark Brown --- sound/soc/codecs/wm8994.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sound/soc/codecs/wm8994.h') diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h index 0a1db04b73bd..1ab2266039f7 100644 --- a/sound/soc/codecs/wm8994.h +++ b/sound/soc/codecs/wm8994.h @@ -11,6 +11,7 @@ #include #include +#include #include "wm_hubs.h" @@ -79,6 +80,8 @@ struct wm8994_priv { int mclk[2]; int aifclk[2]; struct wm8994_fll_config fll[2], fll_suspend[2]; + struct completion fll_locked[2]; + bool fll_locked_irq; int dac_rates[2]; int lrclk_shared[2]; -- cgit v1.2.3