serial/nwpserial: Fix wrong register read address and add interrupt acknowledge.
authorBenjamin Krill <ben@codiert.org>
Wed, 13 May 2009 05:56:54 +0000 (05:56 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 May 2009 06:43:42 +0000 (16:43 +1000)
commit951c4df5b7703137bf4eee002d98d083fbc890cc
treecd60e96d0a6e1deeba177894b8cfaa8ba51c0345
parent37cd8ed90fc5b11941110d2d0cea6807f86d4787
serial/nwpserial: Fix wrong register read address and add interrupt acknowledge.

The receive interrupt routine checks the wrong register if the
receive fifo is empty. Further an explicit interrupt acknowledge
write is introduced. In some circumstances another interrupt was
issued.

Signed-off-by: Benjamin Krill <ben@codiert.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/serial/nwpserial.c