Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a0e9b25 authored by Sascha Hauer's avatar Sascha Hauer
Browse files

dmaengine i.MX SDMA: do not initialize chan_id field



This is bogus as the dmaengine core will overwrite this field.

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 1fa81c27
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1307,7 +1307,6 @@ static int __init sdma_probe(struct platform_device *pdev)
		dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask);
		dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask);


		sdmac->chan.device = &sdma->dma_device;
		sdmac->chan.device = &sdma->dma_device;
		sdmac->chan.chan_id = i;
		sdmac->channel = i;
		sdmac->channel = i;


		/* Add the channel to the DMAC list */
		/* Add the channel to the DMAC list */