media: v4l: omap_vout: vrfb: Use the wrapper for prep_interleaved_dma()
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 19 Jan 2018 13:34:34 +0000 (08:34 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 13:00:26 +0000 (08:00 -0500)
Instead of directly accessing to dmadev->device_prep_interleaved_dma() use
the dmaengine_prep_interleaved_dma() wrapper instead.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/omap/omap_vout_vrfb.c

index 123c2b2..72c0ac2 100644 (file)
@@ -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;