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:
af90836
)
clk: nxp: clk-lpc32xx: Unmap region obtained by of_iomap
author
Arvind Yadav
<arvind.yadav.cs@gmail.com>
Tue, 20 Sep 2016 10:54:06 +0000
(16:24 +0530)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Wed, 21 Sep 2016 20:46:21 +0000
(13:46 -0700)
Free memory mapping, if lpc32xx_clk_init is not successful.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/nxp/clk-lpc32xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/nxp/clk-lpc32xx.c
b/drivers/clk/nxp/clk-lpc32xx.c
index 90d740a2fc0dd1c1765098d5d25904ef1f4f3c0e..34c97353cdebe81f8edeef4baa941add66f61baf 100644
(file)
--- a/
drivers/clk/nxp/clk-lpc32xx.c
+++ b/
drivers/clk/nxp/clk-lpc32xx.c
@@
-1513,6
+1513,7
@@
static void __init lpc32xx_clk_init(struct device_node *np)
if (IS_ERR(clk_regmap)) {
pr_err("failed to regmap system control block: %ld\n",
PTR_ERR(clk_regmap));
+ iounmap(base);
return;
}