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>
Thu, 26 Jul 2012 20:37:14 +0000 (13:37 -0700)
commit38bd2a1ac736901d1cf4971c78ef952ba92ef78b
tree55f11bfd7ed62fb0992d857b8525feee0122d2ca
parent9539dfb7ac1c84522fe1f79bb7dac2990f3de44a
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