mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
clk: nxp: clk-lpc32xx: Unmap region obtained by of_iomap
Free memory mapping, if lpc32xx_clk_init is not successful. Signed-off-by: Arvind Yadav <[email protected]> Acked-by: Vladimir Zapolskiy <[email protected]> Acked-by: Sylvain Lemieux <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
This commit is contained in:
parent
af9083627b
commit
41d88559c3
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue