aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dmaengine.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-31 04:56:58 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-31 06:34:31 -0500
commit23889c6352ab4a842a30221bb412ff49954b2fb3 (patch)
tree1a8c6fbd0509c6dbed9702c9ab0314a8c911de22 /drivers/dma/dmaengine.c
parent7214a8b14f63a1603401124bc150e17b145aa476 (diff)
dmaengine i.MX SDMA: reserve channel 0 by not registering it
We need channel 0 of the sdma engine for internal purposes. We accomplished this by calling dma_request_channel() in the probe function. This does not work when multiple dma engines are present which is the case when IPU support for i.MX31/35 is compiled in. So instead of registering channel 0 and reserving it afterwards simply do not register it in the first place. With this the dmaengine channel counting does not match sdma channel counting anymore, so we have to use sdma channel counting in the driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/dma/dmaengine.c')
0 files changed, 0 insertions, 0 deletions