From: Rafael J. Wysocki Date: Sun, 29 Apr 2012 20:52:19 +0000 (+0200) Subject: PM / Sleep: Look for wakeup events in later stages of device suspend X-Git-Tag: v3.5-rc1~116^2~3^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52d136cc2cf6659ee247dbcc88c9e7bd7428ad06;p=pandora-kernel.git PM / Sleep: Look for wakeup events in later stages of device suspend Currently, the device suspend code in drivers/base/power/main.c only checks if there have been any wakeup events, and therefore the ongoing system transition to a sleep state should be aborted, during the first (i.e. "suspend") device suspend phase. However, wakeup events may be reported later as well, so it's reasonable to look for them in the in the subsequent (i.e. "late suspend" and "suspend noirq") phases. Signed-off-by: Rafael J. Wysocki Acked-by: Greg Kroah-Hartman --- Reading git-diff-tree failed