]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc6f182a64ead2067e5dbd755bfd6b551d8a2ff0
tree17f4ea42ff0182799f516227714a32cb1fb0ca5c
parentff49e8948af0a36f7b39da517291fe0e699e89e0
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