Re: [PATCH] tty: serial_core: recover uport->cons->cflag on uart_close

2019-06-18 Thread Greg KH
On Sun, Jun 16, 2019 at 06:57:14PM +0400, kpark3...@gmail.com wrote: > From: Sahara I need a "full" name here please, something you use to sign legal documents. > Since uart_close was converted to use tty_port_close, uart_shutdown > also moved to uart_tty_port_shutdown, which means it does not b

[PATCH] tty: serial_core: recover uport->cons->cflag on uart_close

2019-06-16 Thread kpark3469
From: Sahara Since uart_close was converted to use tty_port_close, uart_shutdown also moved to uart_tty_port_shutdown, which means it does not backup tty's termios to uart_port.console.cflag when console is closed and uart_console is true. By losing this value, serial console was not set correctl