diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-10-10 14:32:30 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-17 21:05:46 -0700 |
commit | 0abcc6df070687816b0ca0aefc3d64c62773063c (patch) | |
tree | 362931a92c9c6599ab2b0207a5de13b2c90f75b9 /drivers/tty | |
parent | d43b54d269d27bd512f36e4f0f3d129be582ebc8 (diff) | |
download | op-kernel-dev-0abcc6df070687816b0ca0aefc3d64c62773063c.zip op-kernel-dev-0abcc6df070687816b0ca0aefc3d64c62773063c.tar.gz |
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/8250/8250_omap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c index 6efe4dd..a2c0734 100644 --- a/drivers/tty/serial/8250/8250_omap.c +++ b/drivers/tty/serial/8250/8250_omap.c @@ -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) { |