summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2016-04-05 14:20:21 +0200
committerVinod Koul <vinod.koul@intel.com>2016-04-05 18:09:42 +0200
commitb96c033cc8fa6484b1771d43e2fcce61e1fa5097 (patch)
tree2fefe9646e93a1c1c44930b6e9f9e946e6a4f8b3
parentdmaengine: omap-dma: Fix polled channel completion detection and handling (diff)
downloadlinux-b96c033cc8fa6484b1771d43e2fcce61e1fa5097.tar.xz
linux-b96c033cc8fa6484b1771d43e2fcce61e1fa5097.zip
dmaengine: omap-dma: Do not suppress interrupts for memcpy
If the client queues up more transfers the driver will not able to move to the next transfer without knowing that the previous descriptor is completed. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--drivers/dma/omap-dma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c
index 6ea9044d8b71..1e984e18c126 100644
--- a/drivers/dma/omap-dma.c
+++ b/drivers/dma/omap-dma.c
@@ -955,9 +955,7 @@ static struct dma_async_tx_descriptor *omap_dma_prep_dma_memcpy(
d->ccr = c->ccr;
d->ccr |= CCR_DST_AMODE_POSTINC | CCR_SRC_AMODE_POSTINC;
- d->cicr = CICR_DROP_IE;
- if (tx_flags & DMA_PREP_INTERRUPT)
- d->cicr |= CICR_FRAME_IE;
+ d->cicr = CICR_DROP_IE | CICR_FRAME_IE;
d->csdp = data_type;