projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97bf6af
)
ASoC: adi: Add missing return statement.
author
Andrew Jackson
<Andrew.Jackson@arm.com>
Wed, 31 Dec 2014 16:20:37 +0000
(16:20 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 5 Jan 2015 20:16:20 +0000
(20:16 +0000)
The probe routine was disabling the clock even
if the system was configured successfully. Add
a return statement to leave clocks enabled.
Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/adi/axi-i2s.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/adi/axi-i2s.c
b/sound/soc/adi/axi-i2s.c
index 7752860f7230e2821ac906715c06007543e84499..4c23381727a1ed1c53406b596ff04d9cd2e68577 100644
(file)
--- a/
sound/soc/adi/axi-i2s.c
+++ b/
sound/soc/adi/axi-i2s.c
@@
-240,6
+240,8
@@
static int axi_i2s_probe(struct platform_device *pdev)
if (ret)
goto err_clk_disable;
+ return 0;
+
err_clk_disable:
clk_disable_unprepare(i2s->clk);
return ret;