diff options
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
-rw-r--r-- | drivers/tty/serial/sccnxp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c index 3f5d40a060e0..5443b46345ed 100644 --- a/drivers/tty/serial/sccnxp.c +++ b/drivers/tty/serial/sccnxp.c | |||
@@ -672,6 +672,8 @@ static void sccnxp_set_termios(struct uart_port *port, | |||
672 | port->ignore_status_mask = 0; | 672 | port->ignore_status_mask = 0; |
673 | if (termios->c_iflag & IGNBRK) | 673 | if (termios->c_iflag & IGNBRK) |
674 | port->ignore_status_mask |= SR_BRK; | 674 | port->ignore_status_mask |= SR_BRK; |
675 | if (termios->c_iflag & IGNPAR) | ||
676 | port->ignore_status_mask |= SR_PE; | ||
675 | if (!(termios->c_cflag & CREAD)) | 677 | if (!(termios->c_cflag & CREAD)) |
676 | port->ignore_status_mask |= SR_PE | SR_OVR | SR_FE | SR_BRK; | 678 | port->ignore_status_mask |= SR_PE | SR_OVR | SR_FE | SR_BRK; |
677 | 679 | ||