serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / sirfsoc_uart.c
index 1f2be48c92ce70690f8473f7b766ca1055d1feee..9b4d71cff00d7afc73da636d57f9534a846d0c13 100644 (file)
@@ -896,7 +896,7 @@ static void sirfsoc_uart_set_termios(struct uart_port *port,
                if (termios->c_iflag & INPCK)
                        port->read_status_mask |= uint_en->sirfsoc_frm_err_en;
        }
-       if (termios->c_iflag & (BRKINT | PARMRK))
+       if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
                        port->read_status_mask |= uint_en->sirfsoc_rxd_brk_en;
        if (sirfport->uart_reg->uart_type == SIRF_REAL_UART) {
                if (termios->c_iflag & IGNPAR)
This page took 0.02811 seconds and 5 git commands to generate.