Messages in this thread | | | Date | Wed, 4 Jun 2014 07:22:32 -0700 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 2/2] serial: core: Preserve termios c_cflag for console resume |
| |
On Wed, Jun 04, 2014 at 10:16:11AM -0400, Peter Hurley wrote: > 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> > Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> > Signed-off-by: Peter Hurley <peter@hurleysoftware.com> > --- > drivers/tty/serial/serial_core.c | 3 +++ > 1 file changed, 3 insertions(+)
Same as before, regression, or just a normal "new feature"?
greg k-h
| |