diff options
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c index 5c098be9346b..587cc6a95114 100644 --- a/drivers/serial/imx.c +++ b/drivers/serial/imx.c | |||
@@ -499,7 +499,7 @@ imx_set_termios(struct uart_port *port, struct termios *termios, | |||
499 | ucr2 |= UCR2_STPB; | 499 | ucr2 |= UCR2_STPB; |
500 | if (termios->c_cflag & PARENB) { | 500 | if (termios->c_cflag & PARENB) { |
501 | ucr2 |= UCR2_PREN; | 501 | ucr2 |= UCR2_PREN; |
502 | if (!(termios->c_cflag & PARODD)) | 502 | if (termios->c_cflag & PARODD) |
503 | ucr2 |= UCR2_PROE; | 503 | ucr2 |= UCR2_PROE; |
504 | } | 504 | } |
505 | 505 | ||