summaryrefslogtreecommitdiff
path: root/Documentation/power
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2011-10-12 22:59:33 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2011-10-16 23:25:23 +0200
commit857b36c7b038ac56a882ee914df93e5985443074 (patch)
tree04af09cacf24cde80659c810c66bc89c6fcf84c9 /Documentation/power
parent47d8f0bac0fda4c15a030f92cd6da6c6bed87459 (diff)
PM / Runtime: Handle .runtime_suspend() failure correctly
If .runtime_suspend() returns -EAGAIN or -EBUSY, the device should still be in ACTIVE state, so it is not necessary to send an idle notification to its parent. If .runtime_suspend() returns other fatal failure, it doesn't make sense to send idle notification to its parent. Skip parent idle notification when failure is returned from .runtime_suspend() and update comments in rpm_suspend() to reflect that change. [rjw: Modified the subject and changelog slightly.] Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'Documentation/power')
0 files changed, 0 insertions, 0 deletions