dmaengine: bcm2835: Drop duplicate capability setting.
authorMichal Suchanek <msuchanek@suse.de>
Thu, 4 Apr 2019 17:25:03 +0000 (19:25 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 26 Apr 2019 11:23:08 +0000 (16:53 +0530)
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/bcm2835-dma.c

index ec8a291..e38b19d 100644 (file)
@@ -891,7 +891,6 @@ static int bcm2835_dma_probe(struct platform_device *pdev)
        dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
        dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask);
        dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask);
-       dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
        dma_cap_set(DMA_MEMCPY, od->ddev.cap_mask);
        od->ddev.device_alloc_chan_resources = bcm2835_dma_alloc_chan_resources;
        od->ddev.device_free_chan_resources = bcm2835_dma_free_chan_resources;