From: Alexander Shiyan Date: Mon, 24 Sep 2012 17:12:01 +0000 (+0400) Subject: serial: sccnxp: Remove mask termios caps for SW flow control X-Git-Tag: v3.7-rc1~172^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3195fd23f8ea71344bd9bb2b451e72f4289e03ec;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 |