diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 72b800b296b1830020dabd4ec9626dfe55260b27..6ac22d75a4bbefcfad6cc3ba2d79dc0e88dab9c4 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -733,7 +733,7 @@ static irqreturn_t imx_rxint(int irq, void *dev_id) continue; } - rx &= sport->port.read_status_mask; + rx &= (sport->port.read_status_mask | 0xFF); if (rx & URXD_BRK) flg = TTY_BREAK;