* [PATCH] dmaengine: mmp_pdma: Remove duplicate code to set DMA_SLAVE capability
@ 2013-03-07 13:35 Axel Lin
0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2013-03-07 13:35 UTC (permalink / raw)
To: Vinod Koul, Dan Williams; +Cc: Zhangfei Gao, linux-kernel
Signed-off-by: Axel Lin <axel.lin@ingics.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-07 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07 13:35 [PATCH] dmaengine: mmp_pdma: Remove duplicate code to set DMA_SLAVE capability Axel Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox