bfin uart: it will hang when read current y count if not disable dma irq
authorHao Liang <hliang1025@gmail.com>
Thu, 26 Mar 2015 09:13:24 +0000 (17:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 15:10:10 +0000 (16:10 +0100)
commit1569039db0062c47c97ca0bf0c86210d26b8f412
tree23dd9b1536c02071f97d6756bfbbb95c48b8ff3b
parentda29169e769285e90bd1f8389c78b2da6e7fa910
bfin uart: it will hang when read current y count if not disable dma irq

Add irq disable and enable in bfin_serial_rx_dma_timeout in case of
system hang.

This reverts part of commit 9642dbe73c8a ("serial: bfin-uart: avoid
dead lock in rx irq handler in smp kernel").

Signed-off-by: Hao Liang <hliang1025@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/bfin_uart.c