Skip to content

Commit

Permalink
dmaengine i.MX SDMA: do not initialize chan_id field
Browse files Browse the repository at this point in the history
This is bogus as the dmaengine core will overwrite this field.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Sascha Hauer committed Jan 31, 2011
1 parent 1fa81c2 commit 7a0e9b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/dma/imx-sdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 7a0e9b2

Please sign in to comment.