]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l: omap3isp: Use dma_request_chan_by_mask() to request the DMA channel
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 4 Nov 2016 07:58:02 +0000 (05:58 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 18:14:20 +0000 (16:14 -0200)
commita9943f6b6b77cf974d8d602be9cc92863e46b5f4
tree61f9108acd406d891dd8de2caf5935bd26bc47f1
parent04b96d1a6954309eb562ef2736c019b3cf2dad2a
[media] v4l: omap3isp: Use dma_request_chan_by_mask() to request the DMA channel

When requesting the DMA channel it was mandatory that we do not have DMA
resource nor valid DMA channel via DT. In this case the
dma_request_slave_channel_compat() would fall back and request any channel
with SW trigger.

The same can be achieved with the dma_request_chan_by_mask() without the
misleading use of the DMAengine API - implying that the omap3isp does
need to have DMA resource or valid dma binding in DT.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/omap3isp/isphist.c