Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1371501
| From | Peter Ujfalusi <peter.ujfalusi@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 2/2] dmaengine: omap-dma: Do not suppress interrupts for memcpy |
| Date | 2016-04-05 14:30 +0200 |
| Message-ID | <rkyhk-3jr-3@gated-at.bofh.it> (permalink) |
| References | <rkyhk-3jr-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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> --- drivers/dma/omap-dma.c | 4 +--- 1 file changed, 1 insertion(+), 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; -- 2.8.0
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH v3 2/2] dmaengine: omap-dma: Do not suppress interrupts for memcpy Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-04-05 14:30 +0200
csiph-web