]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pch_uart: Fix parity setting issue
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Fri, 6 Jul 2012 08:19:43 +0000 (17:19 +0900)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 9 Aug 2012 23:25:19 +0000 (00:25 +0100)
commitdbf6df1f6b4c2057a0e07b8a0f9c8f041b96f2d0
tree0368ffd8073b798e07797cda15ad0037a1be26d6
parent0eaadc03ba1b2d870cec52f353adaa9c30b65db7
pch_uart: Fix parity setting issue

commit 38bd2a1ac736901d1cf4971c78ef952ba92ef78b upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/tty/serial/pch_uart.c