aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2012-06-19 12:54:38 -0400
committerKevin Hilman <khilman@ti.com>2012-06-25 14:24:23 -0400
commit34059a878f5cb20652cbc937f35c925f2b378831 (patch)
tree3a11e2900a8b924de8b8cc17136db9e1af3abe3b /arch/arm/mach-omap2
parent58f0829b7186150318c79515f0e0850c5e7a9c89 (diff)
ARM: OMAP3: PM: cleanup cam_pwrdm leftovers
commit e7410cf7 (OMAP3: PM: move device-specific special cases from PM core into CPUidle) moved mangement of cam_pwrdm to CPUidle but left some remnants behind, namely the call to clkcm_allo_idle() for the clockdomains in the MPU pwrdm. Remove these since they are not necessary and cause unwanted latency in the idle path. Acked-by: Tero Kristo <Tero Kristo <t-kristo@ti.com> Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/pm34xx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index dec2d55d7182..e63fdd02c6f5 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -70,7 +70,6 @@ void (*omap3_do_wfi_sram)(void);
70 70
71static struct powerdomain *mpu_pwrdm, *neon_pwrdm; 71static struct powerdomain *mpu_pwrdm, *neon_pwrdm;
72static struct powerdomain *core_pwrdm, *per_pwrdm; 72static struct powerdomain *core_pwrdm, *per_pwrdm;
73static struct powerdomain *cam_pwrdm;
74 73
75static void omap3_core_save_context(void) 74static void omap3_core_save_context(void)
76{ 75{
@@ -354,8 +353,6 @@ void omap_sram_idle(void)
354 pwrdm_post_transition(mpu_pwrdm); 353 pwrdm_post_transition(mpu_pwrdm);
355 pwrdm_post_transition(neon_pwrdm); 354 pwrdm_post_transition(neon_pwrdm);
356 } 355 }
357
358 clkdm_allow_idle(mpu_pwrdm->pwrdm_clkdms[0]);
359} 356}
360 357
361static void omap3_pm_idle(void) 358static void omap3_pm_idle(void)
@@ -716,7 +713,6 @@ int __init omap3_pm_init(void)
716 neon_pwrdm = pwrdm_lookup("neon_pwrdm"); 713 neon_pwrdm = pwrdm_lookup("neon_pwrdm");
717 per_pwrdm = pwrdm_lookup("per_pwrdm"); 714 per_pwrdm = pwrdm_lookup("per_pwrdm");
718 core_pwrdm = pwrdm_lookup("core_pwrdm"); 715 core_pwrdm = pwrdm_lookup("core_pwrdm");
719 cam_pwrdm = pwrdm_lookup("cam_pwrdm");
720 716
721 neon_clkdm = clkdm_lookup("neon_clkdm"); 717 neon_clkdm = clkdm_lookup("neon_clkdm");
722 mpu_clkdm = clkdm_lookup("mpu_clkdm"); 718 mpu_clkdm = clkdm_lookup("mpu_clkdm");