Rafael J. Wysocki c751085943 PM/Hibernate: Wait for SCSI devices scan to complete during resume
There is a race between resume from hibernation and the asynchronous
scanning of SCSI devices and to prevent it from happening we need to
call scsi_complete_async_scans() during resume from hibernation.

In addition, if the resume from hibernation is userland-driven, it's
better to wait for all device probes in the kernel to complete before
attempting to open the resume device.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-13 11:37:07 -07:00
..
2009-03-28 20:30:18 +00:00
2008-01-11 18:22:30 -06:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:17 -05:00
2009-04-03 10:17:17 -05:00
2008-10-16 16:52:06 +02:00
2009-03-13 15:48:43 -05:00
2009-03-12 12:58:02 -05:00
2008-12-29 11:24:14 -06:00
2008-08-29 02:13:10 -07:00
2008-10-09 08:56:13 +02:00
2009-03-12 12:57:58 -05:00
2008-01-30 13:14:02 -06:00
2008-12-28 20:00:03 +01:00
2008-01-30 13:14:02 -06:00
2009-04-03 09:24:42 -05:00
2008-01-30 13:14:02 -06:00
2009-03-12 12:58:10 -05:00
2009-04-03 09:22:55 -05:00
2008-10-23 11:42:17 -05:00
2009-03-12 12:58:05 -05:00
2007-07-18 11:16:32 -05:00
2008-07-02 15:06:25 -06:00
2009-04-03 09:22:55 -05:00
2009-03-17 21:43:52 -04:00
2009-04-03 09:22:55 -05:00
2008-02-07 18:02:44 -06:00
2009-03-12 12:58:02 -05:00
2009-01-02 12:02:25 -06:00
2008-10-23 11:42:19 -05:00
2007-10-19 23:22:55 +02:00