pch_uart: Fix rx error interrupt setting issue
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Fri, 6 Jul 2012 08:19:42 +0000 (17:19 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 16:27:31 +0000 (09:27 -0700)
commitae213f30358e5bf68a05badf059bb4d9115755f5
tree3e000b89eb0226e938f6e0a3e98bd8461f6ceecc
parent669bd45f117cc8c7309acd6b6bb054fe4d9e46c0
pch_uart: Fix rx error interrupt setting issue

Rx Error interrupt(E.G. parity error) is not enabled.
So, when parity error occurs, error interrupt is not occurred.
As a result, the received data is not dropped.

This patch adds enable/disable rx error interrupt code.

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