summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm34xx.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-03-04 16:43:04 +0100
committerTero Kristo <t-kristo@ti.com>2014-07-04 16:02:21 +0200
commitba12c24286296159a1271eb19f2fc5c2ef59fbde (patch)
tree4282350c3d4906d60383d9ba66da141b0cd43104 /arch/arm/mach-omap2/pm34xx.c
parentARM: OMAP3: PRM: move modem reset and iva2 idle to PRM driver (diff)
downloadlinux-ba12c24286296159a1271eb19f2fc5c2ef59fbde.tar.xz
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.c3
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());
}