PM/resume: wait for device probing to finish
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 14 Feb 2009 01:00:19 +0000 (02:00 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Feb 2009 22:17:17 +0000 (14:17 -0800)
commiteed3ee08292d821282169708e5e8e89a0d0a0c63
tree0c455705568521c99c84d9ef095a3ae29d1f02db
parent216773a787c3c46ef26bf1742c1fdba37d26be45
PM/resume: wait for device probing to finish

the resume code does not currently wait for device probing to finish.
Even without async function calls this is dicey and not correct,
but with async function calls during the boot sequence this is going
to get hit more...

This patch adds the synchronization using the newly introduced helper.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Len Brown <lenb@kernel.org>
Acked-by: Greg KH <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/power/disk.c