On 27 May 2013 20:02, Sanjay Singh Rawat sanjay.rawat@linaro.org wrote:
use cpu_do_idle for entering the wfi mode.
Signed-off-by: Sanjay Singh Rawat sanjay.rawat@linaro.org
arch/arm/mach-spear/hotplug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-spear/hotplug.c b/arch/arm/mach-spear/hotplug.c index d97749c..6dbd3dc 100644 --- a/arch/arm/mach-spear/hotplug.c +++ b/arch/arm/mach-spear/hotplug.c @@ -55,7 +55,8 @@ static inline void cpu_leave_lowpower(void) static inline void spear13xx_do_lowpower(unsigned int cpu, int *spurious) { for (;;) {
wfi();
/* enter WFI mode */
cpu_do_idle(); if (pen_release == cpu) {
Acked-by: Viresh Kumar viresh.kumar@linaro.org