From: Daniel Mack Date: Sat, 10 Aug 2013 16:52:21 +0000 (+0200) Subject: dma: mmp_pdma: remove duplicate assignment X-Git-Tag: Ubuntu-5.10.0-12.13~18371^2~45 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=8fd6aac3a8234d4ffd0ea514ba2aba9488888a36;p=mirror_ubuntu-hirsute-kernel.git dma: mmp_pdma: remove duplicate assignment The DMA_SLAVE is currently set twice. Signed-off-by: Daniel Mack Acked-by: Arnd Bergmann Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index 4de4f3fd1b47..b426e55f8316 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c @@ -875,7 +875,6 @@ static int mmp_pdma_probe(struct platform_device *op) dma_cap_set(DMA_SLAVE, pdev->device.cap_mask); dma_cap_set(DMA_MEMCPY, pdev->device.cap_mask); - dma_cap_set(DMA_SLAVE, pdev->device.cap_mask); pdev->device.dev = &op->dev; pdev->device.device_alloc_chan_resources = mmp_pdma_alloc_chan_resources; pdev->device.device_free_chan_resources = mmp_pdma_free_chan_resources;