tty: serial: 8250_omap: do not use RX DMA if pause is not supported
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 14 Aug 2015 15:52:07 +0000 (17:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 00:19:49 +0000 (17:19 -0700)
commit830acf9e3044d4644f91b4418ef35a2094089946
tree35ee259df952b9e15eb9110605157c45fd47bf1a
parentcbba3e6f7a1eb642cccf520f690d4a58b97a9588
tty: serial: 8250_omap: do not use RX DMA if pause is not supported

The 8250-omap driver requires the DMA-engine driver to support the pause
command in order to properly turn off programmed RX transfer before the
driver stars manually reading from the FIFO.
The lacking support of the requirement has been discovered recently. In
order to stay safe here we disable RX-DMA completly on probe.
The rx_dma_broken assignment on probe could be removed once we working
pause function in omap-dma.

Cc: <stable@vger.kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c