Skip to content

Commit

Permalink
serial: sccnxp: Remove mask termios caps for SW flow control
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Shiyan authored and Greg Kroah-Hartman committed Sep 26, 2012
1 parent 1685118 commit 3195fd2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/tty/serial/sccnxp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 3195fd2

Please sign in to comment.