pch_uart: Fix parity setting issue
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Fri, 6 Jul 2012 08:19:43 +0000 (17:19 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 16:27:31 +0000 (09:27 -0700)
commit2fc39aebf682bed97a78d278f6adf6c395700d19
tree8fc2ae06a19ce9ae08b6729cfe3f5ee4ede82ccf
parentae213f30358e5bf68a05badf059bb4d9115755f5
pch_uart: Fix parity setting issue

Parity Setting value is reverse.
E.G. In case of setting ODD parity, EVEN value is set.
This patch inverts "if" condition.

Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c