ARM i.MX6q: unmap memory mapped at imx6q_opp_check_speed_grading()
Subsystems (3)
PATCH 1/1 ARM i.MX6q: unmap memory mapped at imx6q_opp_check_speed_grading()
imx6q_opp_check_speed_grading() remaps memory to the base variable and never unmaps it. I can't see how this can be of any use later so here I unmap it.
Signed-off-by Sebastian Andrzej Siewior <[email protected]>
--- arch/arm/mach-imx/mach-imx6q.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/mach-imx6q.c +1 -1
@@ -329,7 +329,7 @@ static void __init imx6q_opp_check_speed_grading(struct device *cpu_dev)if (dev_pm_opp_disable (cpu_dev,852000000 ))pr_warn ("failed to disable 852 MHz OPP\n" ); } - +iounmap (base); put_node:of_node_put (np); }
Signature · 1 line
2.1.4
Shawn Guo
AppliedPATCH 1/1 ARM i.MX6q: unmap memory mapped at imx6q_opp_check_speed_grading()
Quoted 5 lines · Sebastian Andrzej Siewior
imx6q_opp_check_speed_grading()remaps memory to the base variable and never unmaps it. I can't see how this can be of any use later so here I unmap it.Signed-off-by Sebastian Andrzej Siewior <[email protected]>
Applied, thanks.