diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2015-01-13 12:46:53 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-01-20 01:26:45 -0500 |
commit | 23bec1727505de4adf3f0ed228bcb8b1a3d2e551 (patch) | |
tree | df4d206104ee93f2e514a664a6ea46ba194f91d0 /arch/arm/mach-imx | |
parent | c205389557aac828f8403db0368d1fc2ef859213 (diff) |
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 <bigeasy@linutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 5057d61298b7..4ad6e473cf83 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -329,7 +329,7 @@ static void __init imx6q_opp_check_speed_grading(struct device *cpu_dev) | |||
329 | if (dev_pm_opp_disable(cpu_dev, 852000000)) | 329 | if (dev_pm_opp_disable(cpu_dev, 852000000)) |
330 | pr_warn("failed to disable 852 MHz OPP\n"); | 330 | pr_warn("failed to disable 852 MHz OPP\n"); |
331 | } | 331 | } |
332 | 332 | iounmap(base); | |
333 | put_node: | 333 | put_node: |
334 | of_node_put(np); | 334 | of_node_put(np); |
335 | } | 335 | } |