summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-09-24 21:12:01 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-26 13:41:05 -0700
commit3195fd23f8ea71344bd9bb2b451e72f4289e03ec (patch)
tree0981f2505eb93b725169e85a2ebb788e791ba635 /drivers/tty/serial/sccnxp.c
parent1685118f55209a518bb5efbbc91706f8b7fa7ffa (diff)
downloadop-kernel-dev-3195fd23f8ea71344bd9bb2b451e72f4289e03ec.zip
op-kernel-dev-3195fd23f8ea71344bd9bb2b451e72f4289e03ec.tar.gz
serial: sccnxp: Remove mask termios caps for SW flow control
The kernel will handle IXON/IXOFF/IXANY in software if the hardware doesn't do it. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
-rw-r--r--drivers/tty/serial/sccnxp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c
index a7a6659..f06981d 100644
--- a/drivers/tty/serial/sccnxp.c
+++ b/drivers/tty/serial/sccnxp.c
@@ -531,7 +531,6 @@ static void sccnxp_set_termios(struct uart_port *port,
/* Mask termios capabilities we don't support */
termios->c_cflag &= ~CMSPAR;
- termios->c_iflag &= ~(IXON | IXOFF | IXANY);
/* Disable RX & TX, reset break condition, status and FIFOs */
sccnxp_port_write(port, SCCNXP_CR_REG, CR_CMD_RX_RESET |
OpenPOWER on IntegriCloud