summaryrefslogtreecommitdiff
path: root/Documentation/power/runtime_pm.txt
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2011-10-12 20:59:33 (GMT)
committerRafael J. Wysocki <rjw@sisk.pl>2011-10-16 21:25:23 (GMT)
commit857b36c7b038ac56a882ee914df93e5985443074 (patch)
tree04af09cacf24cde80659c810c66bc89c6fcf84c9 /Documentation/power/runtime_pm.txt
parent47d8f0bac0fda4c15a030f92cd6da6c6bed87459 (diff)
downloadlinux-857b36c7b038ac56a882ee914df93e5985443074.tar.xz
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/runtime_pm.txt')
0 files changed, 0 insertions, 0 deletions