diff options
author | 2010-12-03 23:14:26 +0100 | |
---|---|---|
committer | 2010-12-24 15:02:42 +0100 | |
commit | d83f905e126f8cbc5e4addc5d1a64aea785b732e (patch) | |
tree | 45778fff5807b9e844f5290d4f0674433d157102 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | PM / Wakeup: Replace pm_check_wakeup_events() with pm_wakeup_pending() (diff) | |
download | wireguard-linux-d83f905e126f8cbc5e4addc5d1a64aea785b732e.tar.xz wireguard-linux-d83f905e126f8cbc5e4addc5d1a64aea785b732e.zip |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions