diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2015-04-25 16:59:19 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-06-03 08:44:31 +0200 |
commit | 8fb76a07e2cb08b9f278a6415af4f784bb635a6e (patch) | |
tree | b7dd4ba95fb99dcd7fa406120f5d24f179d69ae9 /arch/arm/mach-imx/clk-imx6q.c | |
parent | ARM: imx5: let pm code map CCM block on its own (diff) | |
download | linux-8fb76a07e2cb08b9f278a6415af4f784bb635a6e.tar.xz linux-8fb76a07e2cb08b9f278a6415af4f784bb635a6e.zip |
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/clk-imx6q.c')
-rw-r--r-- | arch/arm/mach-imx/clk-imx6q.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index 469a150bf98f..54ce0b30b9ad 100644 --- a/arch/arm/mach-imx/clk-imx6q.c +++ b/arch/arm/mach-imx/clk-imx6q.c @@ -527,8 +527,5 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) /* All existing boards with PCIe use LVDS1 */ if (IS_ENABLED(CONFIG_PCI_IMX6)) clk_set_parent(clk[IMX6QDL_CLK_LVDS1_SEL], clk[IMX6QDL_CLK_SATA_REF_100M]); - - /* Set initial power mode */ - imx6q_set_lpm(WAIT_CLOCKED); } CLK_OF_DECLARE(imx6q, "fsl,imx6q-ccm", imx6q_clocks_init); |