]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] suspend: make it possible to disable serial console suspend
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 26 Sep 2006 06:32:57 +0000 (23:32 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:49:03 +0000 (08:49 -0700)
commite1da95ae38afdcda83328300c4aed755d9fc01a6
treee4d0c54a44df19235b656eae92ab3da2404024ba
parentc8eb8b4025175f967af0ba8e933f23aa9954dc35
[PATCH] suspend: make it possible to disable serial console suspend

Hack uart_suspend_port() and uart_resume_port() so that serial console
ports are not suspended if CONFIG_DISABLE_CONSOLE_SUSPEND is set.

This makes it possible to debug the suspend and resume routines of all
device drivers as well as the lowest-level swsusp code with the help of the
serial console.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/serial_core.c