summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8962.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-01-30 20:32:06 +0000
committerMark Brown <broonie@linaro.org>2014-02-03 12:51:00 +0000
commit9d7433b064a6349aae8a266e8243ef75637bec45 (patch)
tree96511a63ba0774a80b8dfcc850a1971bf5dbf208 /sound/soc/codecs/wm8962.c
parentd6f95e5407674d2f7d61feef81fef96b364d9188 (diff)
downloadop-kernel-dev-9d7433b064a6349aae8a266e8243ef75637bec45.zip
op-kernel-dev-9d7433b064a6349aae8a266e8243ef75637bec45.tar.gz
ASoC: wm8962: Reinitialise the IRQ completion rather than just trying it
This is better practice. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8962.c')
-rw-r--r--sound/soc/codecs/wm8962.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index cd96d46..c06bb50 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -2884,7 +2884,7 @@ static int wm8962_set_fll(struct snd_soc_codec *codec, int fll_id, int source,
snd_soc_write(codec, WM8962_FLL_CONTROL_7, fll_div.lambda);
snd_soc_write(codec, WM8962_FLL_CONTROL_8, fll_div.n);
- try_wait_for_completion(&wm8962->fll_lock);
+ reinit_completion(&wm8962->fll_lock);
ret = pm_runtime_get_sync(codec->dev);
if (ret < 0) {
OpenPOWER on IntegriCloud