diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-07-09 09:21:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-10 15:55:32 -0700 |
commit | ae84db9661cafc63d179e1d985a2c5b841ff0ac4 (patch) | |
tree | 2ccb4dd3ef07854decbdfaae29b4c7399cb4baae /drivers/net | |
parent | b31245b9420731cc62bb1eea0a2240b3e90a2e78 (diff) | |
download | blackbird-op-linux-ae84db9661cafc63d179e1d985a2c5b841ff0ac4.tar.gz blackbird-op-linux-ae84db9661cafc63d179e1d985a2c5b841ff0ac4.zip |
serial: core: Preserve termios c_cflag for console resume
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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions