Files
linux/drivers/tty
Peter Hurley fca04198d5 serial: core: Preserve termios c_cflag for console resume
commit ae84db9661 upstream.

When a tty is opened for the serial console, the termios c_cflag
settings are inherited from the console line settings.
However, if the tty is subsequently closed, the termios settings
are lost. This results in a garbled console if the console is later
suspended and resumed.

Preserve the termios c_cflag for the serial console when the tty
is shutdown; this reflects the most recent line settings.

Fixes: Bugzilla #69751, 'serial console does not wake from S3'
Reported-by: Valerio Vanni <valerio.vanni@inwind.it>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-05 16:28:35 -07:00
..
2014-02-22 12:41:27 -08:00
2013-03-18 16:24:29 -07:00
2013-03-18 16:24:29 -07:00
2013-03-18 16:24:29 -07:00
2013-06-17 12:37:29 -07:00
2013-05-20 12:15:59 -07:00