]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaenegine: edma: allow pause/resume for non-cyclic mode
authorJohn Ogness <john.ogness@linutronix.de>
Mon, 27 Apr 2015 11:52:25 +0000 (13:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:27:01 +0000 (22:27 +0200)
commit02ec6041a8dd17d9bd7dd12eb6280a6b112f83e5
treea0dfd489c1fe9005fee785cf6ee7418c77172430
parentc2d4bb9d9387231f5e265d59600aeb6409be8e7a
dmaenegine: edma: allow pause/resume for non-cyclic mode

The 8250_omap serial driver relies on dmaengine_pause() actually
pausing the DMA transfer. Before this patch dmaengine_pause() is
a NOP for non-cylic DMA transfers. This allowed the 8250_omap
driver to read DMA buffers while the DMA was still active,
resulting in lost serial data.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/edma.c