PM: Wait for console in resume
authorArve Hjønnevåg <arve@android.com>
Sat, 14 Feb 2009 01:06:17 +0000 (02:06 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Feb 2009 22:17:17 +0000 (14:17 -0800)
commitb090f9fa53d51c8a33370071de9e391919ee1fa7
tree55cf1fe637cf4808d8139108c3d7871647dfc00f
parentebae2604f2c3693717d9dc687c84578f0526480c
PM: Wait for console in resume

Avoids later waking up to a blinking cursor if the device woke up and
returned to sleep before the console switch happened.

Signed-off-by: Brian Swetland <swetland@google.com>
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Len Brown <lenb@kernel.org>
Cc: Greg KH <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/power/console.c