Skip to content

Commit c7266d2

Browse files
hramrachvinodkoul
authored andcommitted
dmaengine: bcm2835: Drop duplicate capability setting.
Signed-off-by: Michal Suchanek <msuchanek@suse.de> Acked-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 2da254c commit c7266d2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/dma/bcm2835-dma.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,6 @@ static int bcm2835_dma_probe(struct platform_device *pdev)
891891
dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
892892
dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask);
893893
dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask);
894-
dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
895894
dma_cap_set(DMA_MEMCPY, od->ddev.cap_mask);
896895
od->ddev.device_alloc_chan_resources = bcm2835_dma_alloc_chan_resources;
897896
od->ddev.device_free_chan_resources = bcm2835_dma_free_chan_resources;

0 commit comments

Comments
 (0)