summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-10-10 14:32:30 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-17 21:05:46 -0700
commit0abcc6df070687816b0ca0aefc3d64c62773063c (patch)
tree362931a92c9c6599ab2b0207a5de13b2c90f75b9
parentd43b54d269d27bd512f36e4f0f3d129be582ebc8 (diff)
downloadblackbird-op-linux-0abcc6df070687816b0ca0aefc3d64c62773063c.tar.gz
blackbird-op-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>
-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) {
OpenPOWER on IntegriCloud