On Wed, 9 Jul 2014 09:21:14 -0400 Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxx> > Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> > Signed-off-by: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html