ARM: imx6: set initial power mode in pm function
authorShawn Guo <shawn.guo@linaro.org>
Sat, 25 Apr 2015 14:59:19 +0000 (22:59 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 06:44:31 +0000 (14:44 +0800)
commit8fb76a07e2cb08b9f278a6415af4f784bb635a6e
treeb7dd4ba95fb99dcd7fa406120f5d24f179d69ae9
parentf3a9249d096178d29bba69cece29da99a622ce28
ARM: imx6: set initial power mode in pm function

Rather than setting initial low-power mode in every single i.MX6 clock
initialization function, we should really do that in pm code.  Let's
move imx6q_set_lpm(WAIT_CLOCKED) call into imx6_pm_common_init().

While at it, let's rename the function to imx6_set_lpm() since it's
actually common for all i.MX6 SoCs.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx6q.c
arch/arm/mach-imx/clk-imx6sl.c
arch/arm/mach-imx/clk-imx6sx.c
arch/arm/mach-imx/common.h
arch/arm/mach-imx/cpuidle-imx6q.c
arch/arm/mach-imx/cpuidle-imx6sl.c
arch/arm/mach-imx/cpuidle-imx6sx.c
arch/arm/mach-imx/pm-imx6.c