diff options
author | Michal Suchanek <msuchanek@suse.de> | 2019-04-04 19:25:03 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-04-26 16:53:08 +0530 |
commit | c7266d26dc12bc056c0a7ffdbd4f4df41a8c25da (patch) | |
tree | 00ad7e96b19897ac9b414640fa0dba1c40e5cae8 /drivers/dma | |
parent | 2da254cc7908105a60a6bb219d18e8dced03dcb9 (diff) |
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/bcm2835-dma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c index ec8a291d62ba..e38b19dd2895 100644 --- a/drivers/dma/bcm2835-dma.c +++ b/drivers/dma/bcm2835-dma.c @@ -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; |