]> Git Repo - linux.git/commitdiff
ARM: OMAP3: PM: remove access to PRM_VOLTCTRL register
authorTero Kristo <[email protected]>
Thu, 10 Apr 2014 18:01:09 +0000 (11:01 -0700)
committerTony Lindgren <[email protected]>
Thu, 10 Apr 2014 18:01:09 +0000 (11:01 -0700)
There is a solitary write to this register every wakeup from off-mode,
which isn't doing anything, so remove it.

Also note that modifying this register trashes any attempted
voltage scaling configuration and the change probably should
never have gotten merged in the first place.

Cc: Nishanth Menon <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Paul Walmsley <[email protected]>
Signed-off-by: Tero Kristo <[email protected]>
[[email protected]: updated comments to describe regression]
Signed-off-by: Tony Lindgren <[email protected]>
arch/arm/mach-omap2/pm34xx.c

index 1f3770a8a7286fd7650f76d46917408d0ff52b96..87099bb6de692771ce7d26a720f0bec5836d6beb 100644 (file)
@@ -330,10 +330,6 @@ void omap_sram_idle(void)
                        omap3_sram_restore_context();
                        omap2_sms_restore_context();
                }
-               if (core_next_state == PWRDM_POWER_OFF)
-                       omap2_prm_clear_mod_reg_bits(OMAP3430_AUTO_OFF_MASK,
-                                              OMAP3430_GR_MOD,
-                                              OMAP3_PRM_VOLTCTRL_OFFSET);
        }
        omap3_intc_resume_idle();
 
This page took 0.063468 seconds and 4 git commands to generate.