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:
b6e6d54
)
mfd: Fix wrong goto labels for tc6393xb error handling
author
Axel Lin
<axel.lin@gmail.com>
Tue, 3 Aug 2010 03:10:41 +0000
(11:10 +0800)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 12 Aug 2010 09:28:05 +0000
(11:28 +0200)
This patch corrects the error handling path.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tc6393xb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/tc6393xb.c
b/drivers/mfd/tc6393xb.c
index fcf9068810fb24eb73af3f05fce1c3e89133e886..ef6c42c8917a9554e20817239210bec66fc1002f 100644
(file)
--- a/
drivers/mfd/tc6393xb.c
+++ b/
drivers/mfd/tc6393xb.c
@@
-732,9
+732,9
@@
err_gpio_add:
if (tc6393xb->gpio.base != -1)
temp = gpiochip_remove(&tc6393xb->gpio);
tcpd->disable(dev);
-err_clk_enable:
- clk_disable(tc6393xb->clk);
err_enable:
+ clk_disable(tc6393xb->clk);
+err_clk_enable:
iounmap(tc6393xb->scr);
err_ioremap:
release_resource(&tc6393xb->rscr);