[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1362663307.13839.1.camel@phoenix>
Date: Thu, 07 Mar 2013 21:35:07 +0800
From: Axel Lin <axel.lin@...ics.com>
To: Vinod Koul <vinod.koul@...el.com>, Dan Williams <djbw@...com>
Cc: Zhangfei Gao <zhangfei.gao@...vell.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] dmaengine: mmp_pdma: Remove duplicate code to set DMA_SLAVE
capability
Signed-off-by: Axel Lin <axel.lin@...ics.com>
---
drivers/dma/mmp_pdma.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c
index c26699f..3d0f51b 100644
--- a/drivers/dma/mmp_pdma.c
+++ b/drivers/dma/mmp_pdma.c
@@ -825,7 +825,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;
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists