mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-07 03:18:31 +00:00
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>
This commit is contained in:
parent
689d3c5ecc
commit
b96c033cc8
1 changed files with 1 additions and 3 deletions
|
@ -955,9 +955,7 @@ static struct dma_async_tx_descriptor *omap_dma_prep_dma_memcpy(
|
||||||
d->ccr = c->ccr;
|
d->ccr = c->ccr;
|
||||||
d->ccr |= CCR_DST_AMODE_POSTINC | CCR_SRC_AMODE_POSTINC;
|
d->ccr |= CCR_DST_AMODE_POSTINC | CCR_SRC_AMODE_POSTINC;
|
||||||
|
|
||||||
d->cicr = CICR_DROP_IE;
|
d->cicr = CICR_DROP_IE | CICR_FRAME_IE;
|
||||||
if (tx_flags & DMA_PREP_INTERRUPT)
|
|
||||||
d->cicr |= CICR_FRAME_IE;
|
|
||||||
|
|
||||||
d->csdp = data_type;
|
d->csdp = data_type;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue