projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6f95e5
)
ASoC: wm8962: Reinitialise the IRQ completion rather than just trying it
author
Mark Brown
<broonie@linaro.org>
Thu, 30 Jan 2014 20:32:06 +0000
(20:32 +0000)
committer
Mark Brown
<broonie@linaro.org>
Mon, 3 Feb 2014 12:51:00 +0000
(12:51 +0000)
This is better practice.
Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8962.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/wm8962.c
b/sound/soc/codecs/wm8962.c
index cd96d463a5051d08d0748c1b95b85782f661fc8d..c06bb5088e608ea0baf62140d9d44e143ead00b4 100644
(file)
--- 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) {