]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dma: mmp_pdma: remove duplicate assignment
authorDaniel Mack <zonque@gmail.com>
Sat, 10 Aug 2013 16:52:21 +0000 (18:52 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 14 Aug 2013 08:25:16 +0000 (13:55 +0530)
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>
drivers/dma/mmp_pdma.c

index 4de4f3fd1b4737889072280c0aa82f8597672429..b426e55f831698a74c9919144096c2bb8611b360 100644 (file)
@@ -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;