Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dragos Bogdan and committed by
Vinod Koul
9a05045d 648865a7

+1
+1
drivers/dma/dma-axi-dmac.c
··· 699 699 dma_dev = &dmac->dma_dev; 700 700 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask); 701 701 dma_cap_set(DMA_CYCLIC, dma_dev->cap_mask); 702 + dma_cap_set(DMA_INTERLEAVE, dma_dev->cap_mask); 702 703 dma_dev->device_free_chan_resources = axi_dmac_free_chan_resources; 703 704 dma_dev->device_tx_status = dma_cookie_status; 704 705 dma_dev->device_issue_pending = axi_dmac_issue_pending;