commit | 886a7a3371da8ee46a13f8e598a536bd8765b837 | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Wed Jul 08 13:26:05 2009 +0200 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Wed Jul 08 13:26:05 2009 +0200 |
tree | 5b6b9fb297cc3f59cd1777548e2fa82d4e1bb5f9 | |
parent | 00024be9689963c55cf2ab10ce3fb4502016c09a [diff] |
PM: Clear -EAGAIN in dpm_prepare When the last device in the dpm list is unregistered directly after its prepare() callback returned with -EAGAIN, the return code is passed to the calling function, resulting in a suspend failure. Prevent this by clearing the return code after -EAGAIN. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>