serial: omap8250: Terminate rx dma only for flushes
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Apr 2016 05:14:37 +0000 (22:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
commitd1f981506b38933e9ba4cfe01ae98bcd5d3792f9
tree154259fd15b8b261fdc048fdd39bf25fb1449b2d
parent33d9b8b23a73d5d8609a740d0adeea8235c2ae52
serial: omap8250: Terminate rx dma only for flushes

DMA completed normally does not require termination; only terminate
paused rx dma stemming from rx dma flush.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c