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 <sebott@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2009-07-08 13:26:05 +02:00
..
Makefile PM: Make PM_TRACE more architecture independent 2008-02-01 18:30:54 -05:00
main.c PM: Clear -EAGAIN in dpm_prepare 2009-07-08 13:26:05 +02:00
power.h Driver core: Fix device_move() vs. dpm list ordering, v2 2009-03-24 16:38:26 -07:00
sysfs.c PCI ACPI: Rework PCI handling of wake-up 2008-07-07 16:26:28 -07:00
trace.c driver core: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:31 -08:00