]> git.baikalelectronics.ru Git - kernel.git/commit
media: pxa_camera: Use dma_request_chan() instead dma_request_slave_channel()
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 17 Dec 2019 10:39:23 +0000 (11:39 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 15:04:23 +0000 (16:04 +0100)
commit614e64650041391005ffc608ac3cf6ad6d609e5a
treeec8f3cc0821212d5a1c1ad2252e0c79f1a9511d4
parent9ef2011ea353cb63b6cfe11730f3b56c5eb00133
media: pxa_camera: Use dma_request_chan() instead dma_request_slave_channel()

dma_request_slave_channel() is a wrapper on top of dma_request_chan()
eating up the error code.

By using dma_request_chan() directly the driver can support deferred
probing against DMA.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/pxa_camera.c