summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorPeter Hurley2015-10-10 20:32:30 +0200
committerGreg Kroah-Hartman2015-10-18 06:05:46 +0200
commit0abcc6df070687816b0ca0aefc3d64c62773063c (patch)
tree362931a92c9c6599ab2b0207a5de13b2c90f75b9 /drivers/tty
parentserial: Enable Freescale 16550 workaround on arm (diff)
downloadkernel-qcow2-linux-0abcc6df070687816b0ca0aefc3d64c62773063c.tar.gz
kernel-qcow2-linux-0abcc6df070687816b0ca0aefc3d64c62773063c.tar.xz
kernel-qcow2-linux-0abcc6df070687816b0ca0aefc3d64c62773063c.zip
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.c1
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 6efe4dd6e77a..a2c0734c76e2 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) {