diff options
-rw-r--r-- | drivers/tty/serial/pch_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c index 2cc9b4694625..558ce8509a9a 100644 --- a/drivers/tty/serial/pch_uart.c +++ b/drivers/tty/serial/pch_uart.c | |||
@@ -1368,7 +1368,7 @@ static void pch_uart_set_termios(struct uart_port *port, | |||
1368 | stb = PCH_UART_HAL_STB1; | 1368 | stb = PCH_UART_HAL_STB1; |
1369 | 1369 | ||
1370 | if (termios->c_cflag & PARENB) { | 1370 | if (termios->c_cflag & PARENB) { |
1371 | if (!(termios->c_cflag & PARODD)) | 1371 | if (termios->c_cflag & PARODD) |
1372 | parity = PCH_UART_HAL_PARITY_ODD; | 1372 | parity = PCH_UART_HAL_PARITY_ODD; |
1373 | else | 1373 | else |
1374 | parity = PCH_UART_HAL_PARITY_EVEN; | 1374 | parity = PCH_UART_HAL_PARITY_EVEN; |