projects
/
GitHub
/
LineageOS
/
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:
d829b37
)
gpio: omap : Add missing clk_unprepare().
author
Arvind Yadav
<arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 06:44:31 +0000
(12:14 +0530)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:03:38 +0000
(15:03 +0200)
omap_gpio_probe() can fail here and we must disable clock.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-omap.c
b/drivers/gpio/gpio-omap.c
index f8c550de6c72b5549b00ce49fb6290d26368498e..dbf869fb63ced2cb2884be234c5275f2893237b2 100644
(file)
--- a/
drivers/gpio/gpio-omap.c
+++ b/
drivers/gpio/gpio-omap.c
@@
-1247,6
+1247,8
@@
static int omap_gpio_probe(struct platform_device *pdev)
if (ret) {
pm_runtime_put_sync(dev);
pm_runtime_disable(dev);
+ if (bank->dbck_flag)
+ clk_unprepare(bank->dbck);
return ret;
}