summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm34xx.c
diff options
context:
space:
mode:
authorTero Kristo2014-04-10 20:01:09 +0200
committerTony Lindgren2014-04-10 20:01:09 +0200
commit390403fd79821bbd0c3a0d83307df2be87047b36 (patch)
tree36334691585db520b31530577e79ff85e86859b6 /arch/arm/mach-omap2/pm34xx.c
parentLinux 3.14 (diff)
downloadkernel-qcow2-linux-390403fd79821bbd0c3a0d83307df2be87047b36.tar.gz
kernel-qcow2-linux-390403fd79821bbd0c3a0d83307df2be87047b36.tar.xz
kernel-qcow2-linux-390403fd79821bbd0c3a0d83307df2be87047b36.zip
ARM: OMAP3: PM: remove access to PRM_VOLTCTRL register
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 <nm@ti.com> Cc: Kevin Hilman <khilman@linaro.org> Cc: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tero Kristo <t-kristo@ti.com> [tony@atomide.com: updated comments to describe regression] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-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 1f3770a8a728..87099bb6de69 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -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();