Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3502b5f authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Alex Shi
Browse files

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: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
(cherry picked from commit 23bec1727505de4adf3f0ed228bcb8b1a3d2e551)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent 326ac6a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}