serial: Fix IGNBRK handling
[deliverable/linux.git] / drivers / tty / serial / mxs-auart.c
index 4b5b3c2fe328710ef821e9e0a29813fdf21ae639..86de4477d98afd62cb77b42b70978fddbfb62a3e 100644 (file)
@@ -604,7 +604,7 @@ static void mxs_auart_settermios(struct uart_port *u,
 
        if (termios->c_iflag & INPCK)
                u->read_status_mask |= AUART_STAT_PERR;
-       if (termios->c_iflag & (BRKINT | PARMRK))
+       if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
                u->read_status_mask |= AUART_STAT_BERR;
 
        /*
This page took 0.024629 seconds and 5 git commands to generate.