diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-03-04 17:43:04 +0200 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2014-07-04 17:02:21 +0300 |
commit | ba12c24286296159a1271eb19f2fc5c2ef59fbde (patch) | |
tree | 4282350c3d4906d60383d9ba66da141b0cd43104 /arch/arm/mach-omap2/pm34xx.c | |
parent | c2148e5930cdd2dd964e18fb7057c1e07f63c363 (diff) | |
download | linux-ba12c24286296159a1271eb19f2fc5c2ef59fbde.tar.gz linux-ba12c24286296159a1271eb19f2fc5c2ef59fbde.tar.bz2 linux-ba12c24286296159a1271eb19f2fc5c2ef59fbde.zip |
ARM: OMAP3: control: isolate control module init to its own function
Control module related PM initializations are now moved within control
module driver. Done in preparation to isolate the code to its own driver.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 9410b4a5c252..3f80929a5f7e 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -355,8 +355,7 @@ restore: static void __init prcm_setup_regs(void) { - /* XXX This should be handled by hwmod code or SCM init code */ - omap_ctrl_writel(OMAP3430_AUTOIDLE_MASK, OMAP2_CONTROL_SYSCONFIG); + omap3_ctrl_init(); omap3_prm_init_pm(cpu_is_omap3630(), omap3_has_iva()); } |