提交 8f0aa382 编写于 作者: P Peter Ujfalusi 提交者: Mauro Carvalho Chehab

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: NPeter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: NSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 309d4c4c
...@@ -271,7 +271,7 @@ int omap_vout_prepare_vrfb(struct omap_vout_device *vout, ...@@ -271,7 +271,7 @@ int omap_vout_prepare_vrfb(struct omap_vout_device *vout,
xt->dst_sgl = true; xt->dst_sgl = true;
xt->dst_inc = 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) { if (tx == NULL) {
pr_err("%s: DMA interleaved prep error\n", __func__); pr_err("%s: DMA interleaved prep error\n", __func__);
return -EINVAL; return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册