diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2015-04-25 17:59:19 +0300 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-06-03 09:44:31 +0300 |
commit | 8fb76a07e2cb08b9f278a6415af4f784bb635a6e (patch) | |
tree | b7dd4ba95fb99dcd7fa406120f5d24f179d69ae9 /arch/arm/mach-imx/common.h | |
parent | f3a9249d096178d29bba69cece29da99a622ce28 (diff) | |
download | linux-8fb76a07e2cb08b9f278a6415af4f784bb635a6e.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-imx/common.h')
-rw-r--r-- | arch/arm/mach-imx/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index fe510fbd0c8c..d7f3b7b1d911 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h @@ -107,7 +107,7 @@ void imx_gpc_hwirq_unmask(unsigned int hwirq); void imx_anatop_init(void); void imx_anatop_pre_suspend(void); void imx_anatop_post_resume(void); -int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode); +int imx6_set_lpm(enum mxc_cpu_pwr_mode mode); void imx6q_set_int_mem_clk_lpm(bool enable); void imx6sl_set_wait_clk(bool enter); int imx_mmdc_get_ddr_type(void); |