serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / fsl_lpuart.c
index c5eb897de9dec3e29a67694de3d7bc89ef447957..49385c86cfba78a21bd9a1d60d669ebbb9297995 100644 (file)
@@ -902,7 +902,7 @@ lpuart_set_termios(struct uart_port *port, struct ktermios *termios,
        sport->port.read_status_mask = 0;
        if (termios->c_iflag & INPCK)
                sport->port.read_status_mask |= (UARTSR1_FE | UARTSR1_PE);
-       if (termios->c_iflag & (BRKINT | PARMRK))
+       if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
                sport->port.read_status_mask |= UARTSR1_FE;
 
        /* characters to ignore */
This page took 0.033489 seconds and 5 git commands to generate.