summaryrefslogtreecommitdiffstats
path: root/drivers/dma/mmp_pdma.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-08-10 18:52:21 +0200
committerVinod Koul <vinod.koul@intel.com>2013-08-14 13:55:16 +0530
commit8fd6aac3a8234d4ffd0ea514ba2aba9488888a36 (patch)
tree2d0a26875d6d0cac509b27b11dd2fbffe9ad994e /drivers/dma/mmp_pdma.c
parent419d1f126bc0bf7a0c027848905c4ca81a847a79 (diff)
downloadop-kernel-dev-8fd6aac3a8234d4ffd0ea514ba2aba9488888a36.zip
op-kernel-dev-8fd6aac3a8234d4ffd0ea514ba2aba9488888a36.tar.gz
dma: mmp_pdma: remove duplicate assignment
The DMA_SLAVE is currently set twice. Signed-off-by: Daniel Mack <zonque@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mmp_pdma.c')
-rw-r--r--drivers/dma/mmp_pdma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c
index 4de4f3f..b426e55 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;
OpenPOWER on IntegriCloud