git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
OMAP3: PM: some OFF mode hacks
[pandora-kernel.git]
/
arch
/
arm
/
mach-omap2
/
cpuidle34xx.c
diff --git
a/arch/arm/mach-omap2/cpuidle34xx.c
b/arch/arm/mach-omap2/cpuidle34xx.c
index
bbb1a21
..
64592bb
100644
(file)
--- a/
arch/arm/mach-omap2/cpuidle34xx.c
+++ b/
arch/arm/mach-omap2/cpuidle34xx.c
@@
-177,6
+177,10
@@
static int next_valid_state(struct cpuidle_device *dev,
*/
if (!IS_PM34XX_ERRATUM(PM_SDRC_WAKEUP_ERRATUM_i583))
core_deepest_state = PWRDM_POWER_OFF;
+
+ /* pandora hack */
+ if (enable_off_mode < 2)
+ core_deepest_state = PWRDM_POWER_RET;
}
if (!omap_uart_can_sleep())