serial: sccnxp: Remove mask termios caps for SW flow control
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 24 Sep 2012 17:12:01 +0000 (21:12 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 20:41:05 +0000 (13:41 -0700)
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>
drivers/tty/serial/sccnxp.c

index a7a6659b96ef6e632a0a973e678e6c84b0a662b7..f06981df80b7e383df7fa5ab8279d52545c85649 100644 (file)
@@ -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 |