]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
dmaengine: omap-dma: Do not suppress interrupts for memcpy
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 5 Apr 2016 12:20:21 +0000 (15:20 +0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 5 Apr 2016 16:09:42 +0000 (09:09 -0700)
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>
drivers/dma/omap-dma.c

index 6ea9044d8b713c9fe6a3c5b5abc3cb4c55bd5eb3..1e984e18c1266b74fc01c247fad36f3e132ad587 100644 (file)
@@ -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;