diff options
author | Jouni Hogander <jouni.hogander@nokia.com> | 2008-10-28 04:59:05 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-11-11 17:42:50 -0500 |
commit | 7139178e9baf44dab454b757ed91a9ee149ad0f2 (patch) | |
tree | a19632430149e565875865dca6507ced6b55daa3 /arch/arm/mach-omap2/pm34xx.c | |
parent | 8e431edb60ef175e6aa986e8260b23cc267a13fb (diff) |
OMAP3: PM: Use pwrdm_set_next_pwrst instead of set_pwrdm_state in idle loop
It is more efficient to use pwrdm_set_next_pwrst for mpu, core and neon
instead of set_pwrdm_state in idle loop. It is anyway known that those are
active in idle loop. So no need to use set_pwrdm_state.
Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com>
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 501b00100d59..c77f6db8a63d 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -359,7 +359,7 @@ void omap_sram_idle(void) | |||
359 | 359 | ||
360 | /* NEON control */ | 360 | /* NEON control */ |
361 | if (pwrdm_read_pwrst(neon_pwrdm) == PWRDM_POWER_ON) | 361 | if (pwrdm_read_pwrst(neon_pwrdm) == PWRDM_POWER_ON) |
362 | set_pwrdm_state(neon_pwrdm, mpu_next_state); | 362 | pwrdm_set_next_pwrst(neon_pwrdm, mpu_next_state); |
363 | 363 | ||
364 | /* PER */ | 364 | /* PER */ |
365 | per_next_state = pwrdm_read_next_pwrst(per_pwrdm); | 365 | per_next_state = pwrdm_read_next_pwrst(per_pwrdm); |