From: Rafael J. Wysocki Date: Fri, 3 Dec 2010 22:14:26 +0000 (+0100) Subject: PM: Use pm_wakeup_pending() in __device_suspend() X-Git-Tag: v2.6.38-rc1~443^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d83f905e126f8cbc5e4addc5d1a64aea785b732e;p=pandora-kernel.git PM: Use pm_wakeup_pending() in __device_suspend() Before starting to suspend a device in __device_suspend() check if there's a request to abort the power transition and return -EBUSY in that case. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed