serial: pl011: Don't enable RX DMA if residue processing not supported
authorAndrew Jackson <Andrew.Jackson@arm.com>
Fri, 7 Nov 2014 14:14:47 +0000 (14:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 16:35:56 +0000 (08:35 -0800)
commit2d3b7d6e7dc8785f9a6c0e4d38188dd1a0859d11
tree17f4ea42ff0182799f516227714a32cb1fb0ca5c
parentc64be9231e089350fa55c7e03adc79e341ab8e89
serial: pl011: Don't enable RX DMA if residue processing not supported

If the DMA engine doesn't support residue processing then the RX DMA
handling won't work terribly well if polling is enabled.  So, disable
RX DMA if residue handling isn't available.

Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c