]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dmaengine i.MX SDMA: do not initialize chan_id field
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 31 Jan 2011 09:19:53 +0000 (10:19 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 31 Jan 2011 11:33:18 +0000 (12:33 +0100)
This is bogus as the dmaengine core will overwrite this field.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/dma/imx-sdma.c

index 8707723e36da7a89fa680e4367efa9cf50435358..3e848ee9a18abbe57e58e9481ab219c134b644a2 100644 (file)
@@ -1307,7 +1307,6 @@ static int __init sdma_probe(struct platform_device *pdev)
                dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask);
 
                sdmac->chan.device = &sdma->dma_device;
-               sdmac->chan.chan_id = i;
                sdmac->channel = i;
 
                /* Add the channel to the DMAC list */