commit | d83f905e126f8cbc5e4addc5d1a64aea785b732e | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Fri Dec 03 23:14:26 2010 +0100 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Fri Dec 24 15:02:42 2010 +0100 |
tree | 45778fff5807b9e844f5290d4f0674433d157102 | |
parent | a2867e08c8e3bdbc00caf56bc3bdde19ccc058e3 [diff] |
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 <rjw@sisk.pl>