Skip to content

Commit b96c033

Browse files
Peter UjfalusiVinod Koul
authored andcommitted
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>
1 parent 689d3c5 commit b96c033

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/dma/omap-dma.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -955,9 +955,7 @@ static struct dma_async_tx_descriptor *omap_dma_prep_dma_memcpy(
955955
d->ccr = c->ccr;
956956
d->ccr |= CCR_DST_AMODE_POSTINC | CCR_SRC_AMODE_POSTINC;
957957

958-
d->cicr = CICR_DROP_IE;
959-
if (tx_flags & DMA_PREP_INTERRUPT)
960-
d->cicr |= CICR_FRAME_IE;
958+
d->cicr = CICR_DROP_IE | CICR_FRAME_IE;
961959

962960
d->csdp = data_type;
963961

0 commit comments

Comments
 (0)