aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-31 04:19:53 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-31 06:33:18 -0500
commit7a0e9b2557902bdca563a5eb1bbac87560bd7d20 (patch)
tree194f1735c5c25357cd4991081231525441b749a8 /drivers/dma
parent1fa81c270da4d8dffa84fcca448654a10ed0a5dc (diff)
dmaengine i.MX SDMA: do not initialize chan_id field
This is bogus as the dmaengine core will overwrite this field. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/imx-sdma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 8707723e36da..3e848ee9a18a 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -1307,7 +1307,6 @@ static int __init sdma_probe(struct platform_device *pdev)
1307 dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask); 1307 dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask);
1308 1308
1309 sdmac->chan.device = &sdma->dma_device; 1309 sdmac->chan.device = &sdma->dma_device;
1310 sdmac->chan.chan_id = i;
1311 sdmac->channel = i; 1310 sdmac->channel = i;
1312 1311
1313 /* Add the channel to the DMAC list */ 1312 /* Add the channel to the DMAC list */