diff options
author | Dragos Bogdan <dragos.bogdan@analog.com> | 2019-03-26 17:07:56 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-04-24 08:38:38 +0300 |
commit | 9a05045d2a681d36c80aafc08d9d0b63d4ddbc66 (patch) | |
tree | 5efa41b046442c55521edecafdb1f58bee680e71 /drivers/dma/dma-axi-dmac.c | |
parent | 648865a79d8ee3d1aa64aab5eb2a9d12eeed14f9 (diff) | |
download | linux-9a05045d2a681d36c80aafc08d9d0b63d4ddbc66.tar.xz |
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>
Diffstat (limited to 'drivers/dma/dma-axi-dmac.c')
-rw-r--r-- | drivers/dma/dma-axi-dmac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/dma-axi-dmac.c b/drivers/dma/dma-axi-dmac.c index cdbef59a9542..f32fdf21edbd 100644 --- a/drivers/dma/dma-axi-dmac.c +++ b/drivers/dma/dma-axi-dmac.c @@ -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; |