kernel-fxtec-pro1x/drivers/base/power
Michael Richardson 9c08a938ce [PATCH] device_shutdown can loop if the driver frees itself
This patch changes device_shutdown() to use the newly introduced safe
reverse list traversal.  We experienced loops on system reboot if we had
removed and re-inserted our device from the device list.

We noticed this problem on PPC405. Our PCI IDE device comes and goes a lot.

Our hypothesis was that there was a loop caused by the driver->shutdown
freeing memory.  It is possible that we do something wrong as well, but
being unable to reboot is kind of nasty.

Signed-off-by: Michael Richardson <mcr@marajade.sandelman.ca>
Cc: Patrick Mochel <mochel@digitalimplant.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-13 11:26:12 -08:00
..
main.c [PATCH] one less word in struct device 2005-10-28 16:47:39 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
power.h [PATCH] USB: fix pm patches with CONFIG_PM off part 2 2005-10-28 16:47:52 -07:00
resume.c [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
runtime.c [PATCH] pcmcia: merge suspend into device model 2006-01-06 00:02:03 +01:00
shutdown.c [PATCH] device_shutdown can loop if the driver frees itself 2006-01-13 11:26:12 -08:00
suspend.c [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
sysfs.c [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00