tty: xuartps: Refactor IRQ handling
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Tue, 12 Jan 2016 01:41:37 +0000 (17:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:52:23 +0000 (22:52 -0800)
commit373e882f9ecfb383fcd3d8878b2eb20e17d45792
tree47061af75fbe80c32e86be99b0531e2b8a0fb21f
parent55861d11c5c804f053411b6e5505d19f561e46a3
tty: xuartps: Refactor IRQ handling

The system could deadlock handling RX IRQs when RX-related IRQ
conditions became true while the receiver was disabled. To avoid this,
enable/disable the RX/TX IRQs together with the receiver/transmitter.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c