diff options
author | Nishanth Menon <nm@ti.com> | 2010-12-20 15:05:08 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-12-21 17:45:52 -0500 |
commit | 80723c3fe457a5d29c178da4ac72983f47b37ed7 (patch) | |
tree | 1cc9a75d0be63e806014cc412b00d97ae1b7e1fd /arch/arm/mach-omap2/pm34xx.c | |
parent | c4236d2e7913d18d058a018f0d19473eb6a11a3c (diff) |
OMAP3: PM: make omap3_cpuidle_update_states independent of enable_off_mode
Currently omap3_cpuidle_update_states makes whole sale decision
on which C states to update based on enable_off_mode variable
Instead, achieve the same functionality by independently providing
mpu and core deepest states the system is allowed to achieve and
update the idle states accordingly.
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
[khilman: fixed additional user of this API in OMAP CPUidle driver]
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 96e309d44e14..74bc15e71e9f 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -917,7 +917,7 @@ void omap3_pm_off_mode_enable(int enable) | |||
917 | state = PWRDM_POWER_RET; | 917 | state = PWRDM_POWER_RET; |
918 | 918 | ||
919 | #ifdef CONFIG_CPU_IDLE | 919 | #ifdef CONFIG_CPU_IDLE |
920 | omap3_cpuidle_update_states(); | 920 | omap3_cpuidle_update_states(state, state); |
921 | #endif | 921 | #endif |
922 | 922 | ||
923 | list_for_each_entry(pwrst, &pwrst_list, node) { | 923 | list_for_each_entry(pwrst, &pwrst_list, node) { |