From: Daniel Lezcano Date: Wed, 3 Apr 2013 12:15:19 +0000 (+0000) Subject: ARM: davinci: cpuidle: fix wrong enter function X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~92^2~2^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c062d44311107de7e384e26d7b97803657cf44f8;p=pandora-kernel.git ARM: davinci: cpuidle: fix wrong enter function The davinci_enter_idle is called from the cpuidle with the cpuidle_wrap_enter function. This one does the time compution for entering and exiting the idle function and then we call again cpuidle_wrap_enter for cpu_do_idle. This is wrong, we are calling recursively cpuidle_wrap_enter for nothing and furthermore reenabling the local irq. Remove this and replace it by the cpu_do_idle function. Signed-off-by: Daniel Lezcano Acked-by: Santosh Shilimkar Acked-by: Sekhar Nori Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed