From: Peter Ujfalusi Date: Fri, 19 Jan 2018 13:34:34 +0000 (-0500) Subject: media: v4l: omap_vout: vrfb: Use the wrapper for prep_interleaved_dma() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8f0aa38292f212a74cb37026d160d946602e76f2;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/omap/omap_vout_vrfb.c b/drivers/media/platform/omap/omap_vout_vrfb.c index 123c2b26a933..72c0ac2cbf3d 100644 --- a/drivers/media/platform/omap/omap_vout_vrfb.c +++ b/drivers/media/platform/omap/omap_vout_vrfb.c @@ -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;