serial: pl011: Don't enable RX DMA if residue processing not supported
authorAndrew Jackson <Andrew.Jackson@arm.com>
Fri, 31 Oct 2014 08:10:29 +0000 (08:10 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 31 Oct 2014 12:22:16 +0000 (12:22 +0000)
commitf1cc9d17db9e1b0ff33ad907210bd3c192882aa2
tree32a5514c6472d0390328d963c715d22ecfa2ab21
parent5a69f53a95b136e35cba0fb0bc42a4dc14ad2bb5
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>
drivers/tty/serial/amba-pl011.c