OMAP3: PM: Use pwrdm_set_next_pwrst instead of set_pwrdm_state in idle loop
authorJouni Hogander <jouni.hogander@nokia.com>
Tue, 28 Oct 2008 08:59:05 +0000 (10:59 +0200)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 11 Nov 2009 22:42:50 +0000 (14:42 -0800)
commit7139178e9baf44dab454b757ed91a9ee149ad0f2
treea19632430149e565875865dca6507ced6b55daa3
parent8e431edb60ef175e6aa986e8260b23cc267a13fb
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>
arch/arm/mach-omap2/cpuidle34xx.c
arch/arm/mach-omap2/pm34xx.c