DMA Engine development
 help / color / mirror / Atom feed
* [V2,RESEND] dmaengine: axi-dmac: Enable DMA_INTERLEAVE capability
@ 2019-03-26 14:07 Alexandru Ardelean
  2019-04-24  5:39 ` Vinod Koul
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandru Ardelean @ 2019-03-26 14:07 UTC (permalink / raw)
  To: dmaengine; +Cc: Dragos Bogdan, Alexandru Ardelean

From: Dragos Bogdan <dragos.bogdan@analog.com>

Since device_prep_interleaved_dma() is already implemented, the
DMA_INTERLEAVE capability should be set.

Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
---

V2 seems to have been omitted earlier.
Probably due to some patchwork thing.

 drivers/dma/dma-axi-dmac.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/dma-axi-dmac.c b/drivers/dma/dma-axi-dmac.c
index 0fe3a931d8d5..7fbb10003da8 100644
--- a/drivers/dma/dma-axi-dmac.c
+++ b/drivers/dma/dma-axi-dmac.c
@@ -693,6 +693,7 @@ static int axi_dmac_probe(struct platform_device *pdev)
 	dma_dev = &dmac->dma_dev;
 	dma_cap_set(DMA_SLAVE, dma_dev->cap_mask);
 	dma_cap_set(DMA_CYCLIC, dma_dev->cap_mask);
+	dma_cap_set(DMA_INTERLEAVE, dma_dev->cap_mask);
 	dma_dev->device_free_chan_resources = axi_dmac_free_chan_resources;
 	dma_dev->device_tx_status = dma_cookie_status;
 	dma_dev->device_issue_pending = axi_dmac_issue_pending;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [V2,RESEND] dmaengine: axi-dmac: Enable DMA_INTERLEAVE capability
@ 2019-04-24  5:39 ` Vinod Koul
  2019-04-24  5:39   ` [PATCH][V2][RESEND] " Vinod Koul
  0 siblings, 1 reply; 3+ messages in thread
From: Vinod Koul @ 2019-04-24  5:39 UTC (permalink / raw)
  To: Alexandru Ardelean; +Cc: dmaengine, Dragos Bogdan

On 26-03-19, 16:07, Alexandru Ardelean wrote:
> From: Dragos Bogdan <dragos.bogdan@analog.com>
> 
> Since device_prep_interleaved_dma() is already implemented, the
> DMA_INTERLEAVE capability should be set.

Applied, thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][V2][RESEND] dmaengine: axi-dmac: Enable DMA_INTERLEAVE capability
  2019-04-24  5:39 ` Vinod Koul
@ 2019-04-24  5:39   ` Vinod Koul
  0 siblings, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2019-04-24  5:39 UTC (permalink / raw)
  To: Alexandru Ardelean; +Cc: dmaengine, Dragos Bogdan

On 26-03-19, 16:07, Alexandru Ardelean wrote:
> From: Dragos Bogdan <dragos.bogdan@analog.com>
> 
> Since device_prep_interleaved_dma() is already implemented, the
> DMA_INTERLEAVE capability should be set.

Applied, thanks

-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-24  5:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-26 14:07 [V2,RESEND] dmaengine: axi-dmac: Enable DMA_INTERLEAVE capability Alexandru Ardelean
2019-04-24  5:39 ` Vinod Koul
2019-04-24  5:39   ` [PATCH][V2][RESEND] " Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox