mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
serial: 8250_omap: Remove RTS clear
Clearing UART_MCR_RTS or UART_MCR_XONANY is unnecessary; these bits are never set in the shadow mcr. The RTS clear is especially confusing. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d43b54d269
commit
0abcc6df07
1 changed files with 0 additions and 1 deletions
|
@ -439,7 +439,6 @@ static void omap_8250_set_termios(struct uart_port *port,
|
|||
priv->xoff = termios->c_cc[VSTOP];
|
||||
|
||||
priv->efr = 0;
|
||||
up->mcr &= ~(UART_MCR_RTS | UART_MCR_XONANY);
|
||||
up->port.status &= ~(UPSTAT_AUTOCTS | UPSTAT_AUTORTS | UPSTAT_AUTOXOFF);
|
||||
|
||||
if (termios->c_cflag & CRTSCTS && up->port.flags & UPF_HARD_FLOW) {
|
||||
|
|
Loading…
Reference in a new issue