diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c
index 5c098be9346b35de2b8ed58b0b6648df8c7c160a..587cc6a9511461732d355f7c32b4dc33117d52b3 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,
 		ucr2 |= UCR2_STPB;
 	if (termios->c_cflag & PARENB) {
 		ucr2 |= UCR2_PREN;
-		if (!(termios->c_cflag & PARODD))
+		if (termios->c_cflag & PARODD)
 			ucr2 |= UCR2_PROE;
 	}