1
0
Fork 0

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>
hifive-unleashed-5.2
Dragos Bogdan 2019-03-26 16:07:56 +02:00 committed by Vinod Koul
parent 648865a79d
commit 9a05045d2a
1 changed files with 1 additions and 0 deletions

View File

@ -699,6 +699,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;