From: Tony Lindgren Date: Mon, 19 Dec 2011 17:11:11 +0000 (-0800) Subject: ARM: OMAP1: Fix pm_idle during suspend X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=666921d78e69d9a074c928822dea61ceb81f6b68;p=pandora-kernel.git ARM: OMAP1: Fix pm_idle during suspend Commit 9ccdac3662dbf3c75e8f8851a214bdf7d365a4bd ([ARM] idle: clean up pm_idle calling, obey hlt_counter) removed a check for NULL pm_idle. On omap1 the system hits an equivalent of suspend during idle. If we are suspending, we need to make sure so we don't call omap1_pm_idle during the suspend process. Fix this by setting the pm_idle function to a an empty function while suspending. Reported-by: Nicolas Pitre Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed