summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/cpuidle34xx.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-10-08 10:19:36 -0700
committerTony Lindgren <tony@atomide.com>2010-10-08 10:19:36 -0700
commit582c77d783e0cb1e6c30a330e42582173bcadfd2 (patch)
tree52847c9701c1ba13e570e0c273a4ea73cbc9ee3a /arch/arm/mach-omap2/cpuidle34xx.c
parentbead4375731ad283cccbcbcb55bc7549c9746168 (diff)
parentebfa88cfa1f00022c500e35db63b5f6c977c95c0 (diff)
downloadtalos-obmc-linux-582c77d783e0cb1e6c30a330e42582173bcadfd2.tar.gz
talos-obmc-linux-582c77d783e0cb1e6c30a330e42582173bcadfd2.zip
Merge branch 'pm-next-2' of ssh://master.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into omap-for-linus
Diffstat (limited to 'arch/arm/mach-omap2/cpuidle34xx.c')
-rw-r--r--arch/arm/mach-omap2/cpuidle34xx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c
index 8ea012ef0b5a..703b5ec88e98 100644
--- a/arch/arm/mach-omap2/cpuidle34xx.c
+++ b/arch/arm/mach-omap2/cpuidle34xx.c
@@ -272,10 +272,8 @@ static int omap3_enter_idle_bm(struct cpuidle_device *dev,
*/
per_next_state = per_saved_state = pwrdm_read_next_pwrst(per_pd);
if ((per_next_state == PWRDM_POWER_OFF) &&
- (core_next_state > PWRDM_POWER_RET)) {
+ (core_next_state > PWRDM_POWER_RET))
per_next_state = PWRDM_POWER_RET;
- pwrdm_set_next_pwrst(per_pd, per_next_state);
- }
/* Are we changing PER target state? */
if (per_next_state != per_saved_state)
OpenPOWER on IntegriCloud