media: v4l: omap_vout: vrfb: Use the wrapper for prep_interleaved_dma()
PATCH 1/1 media: v4l: omap_vout: vrfb: Use the wrapper for prep_interleaved_dma()
Instead of directly accessing to dmadev->device_prep_interleaved_dma() use the dmaengine_prep_interleaved_dma() wrapper instead.
Signed-off-by Peter Ujfalusi <[email protected]>
--- drivers/media/platform/omap/omap_vout_vrfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/omap/omap_vout_vrfb.c +1 -1
@@ -271,7 +271,7 @@ int omap_vout_prepare_vrfb(struct omap_vout_device *vout, xt->dst_sgl = true; xt->dst_inc = true; - tx = dmadev->device_prep_interleaved_dma (chan, xt, flags); + tx =dmaengine_prep_interleaved_dma (chan, xt, flags);if (tx ==NULL ) {pr_err ("%s: DMA interleaved prep error\n" , __func__);return -EINVAL ;
Signature · 4 lines
Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Hi, Peter! :-)
How do you do?
Quoted 4 lines · Peter Ujfalusi
Instead of directly accessing to
dmadev->device_prep_interleaved_dma()use thedmaengine_prep_interleaved_dma()wrapper instead.Signed-off-by Peter Ujfalusi <[email protected]>
Acked-by Sakari Ailus <[email protected]>
Signature · 2 lines
Sakari Ailus e-mail: [email protected]