Files
linux/drivers/base/power
Sebastian Ott 886a7a3371 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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
2009-07-08 13:26:05 +02:00
..
2009-07-08 13:26:05 +02:00