Skip to content

Commit 9a05045

Browse files
dbogdanvinodkoul
authored andcommitted
dmaengine: axi-dmac: Enable DMA_INTERLEAVE capability
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> Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 648865a commit 9a05045

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/dma/dma-axi-dmac.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,7 @@ static int axi_dmac_probe(struct platform_device *pdev)
699699
dma_dev = &dmac->dma_dev;
700700
dma_cap_set(DMA_SLAVE, dma_dev->cap_mask);
701701
dma_cap_set(DMA_CYCLIC, dma_dev->cap_mask);
702+
dma_cap_set(DMA_INTERLEAVE, dma_dev->cap_mask);
702703
dma_dev->device_free_chan_resources = axi_dmac_free_chan_resources;
703704
dma_dev->device_tx_status = dma_cookie_status;
704705
dma_dev->device_issue_pending = axi_dmac_issue_pending;

0 commit comments

Comments
 (0)