From: Jean Pihet Date: Thu, 9 Dec 2010 17:39:58 +0000 (+0100) Subject: OMAP2+: disable idle early in the suspend sequence X-Git-Tag: v2.6.38-rc1~469^2~16^2~9^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c166381d4013fd32512f124c237f4213ae9888e9;p=pandora-kernel.git OMAP2+: disable idle early in the suspend sequence Some bad interaction between the idle and the suspend paths has been identified: the idle code is called during the suspend enter and exit sequences. This could cause corruption or lock-up of resources. The solution is to move the calls to disable_hlt at the very beginning of the suspend sequence (ex. in omap3_pm_begin instead of omap3_pm_prepare), and the call to enable_hlt at the very end of the suspend sequence (ex. in omap3_pm_end instead of omap3_pm_finish). Tested with RET and OFF on Beagle and OMAP3EVM. Signed-off-by: Jean Pihet Cc: Kevin Hilman Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed