diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-12 06:47:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-13 11:38:22 -0400 |
commit | c7ebf932e5afa9caf8720435519b857b5d6e63bc (patch) | |
tree | 6ddfd65bd572b2680782480a4d521095d7af40de /sound/soc/codecs/wm8994.h | |
parent | b30ead5f391d34c6011e6affe88eb21bb0b9f9dd (diff) |
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 <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r-- | sound/soc/codecs/wm8994.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
11 | 11 | ||
12 | #include <sound/soc.h> | 12 | #include <sound/soc.h> |
13 | #include <linux/firmware.h> | 13 | #include <linux/firmware.h> |
14 | #include <linux/completion.h> | ||
14 | 15 | ||
15 | #include "wm_hubs.h" | 16 | #include "wm_hubs.h" |
16 | 17 | ||
@@ -79,6 +80,8 @@ struct wm8994_priv { | |||
79 | int mclk[2]; | 80 | int mclk[2]; |
80 | int aifclk[2]; | 81 | int aifclk[2]; |
81 | struct wm8994_fll_config fll[2], fll_suspend[2]; | 82 | struct wm8994_fll_config fll[2], fll_suspend[2]; |
83 | struct completion fll_locked[2]; | ||
84 | bool fll_locked_irq; | ||
82 | 85 | ||
83 | int dac_rates[2]; | 86 | int dac_rates[2]; |
84 | int lrclk_shared[2]; | 87 | int lrclk_shared[2]; |