summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorPrabhakar Lad <prabhakar.csengg@gmail.com>2014-11-26 23:42:33 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-02 14:34:37 +0100
commitb41a97a292016ab92325257a8b9050d42f89a508 (patch)
tree3a3a593a1da54081bd51943011aaed53d4856726 /drivers/media
parent[media] media: blackfin: use vb2_ops_wait_prepare/finish helper (diff)
downloadlinux-b41a97a292016ab92325257a8b9050d42f89a508.tar.xz
linux-b41a97a292016ab92325257a8b9050d42f89a508.zip
[media] media: davinci: vpif_capture: use vb2_ops_wait_prepare/finish helper
This patch adds support in the capture driver for using vb2_ops_wait_prepare/finish() helpers provided by the vb2 core. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/davinci/vpif_capture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/davinci/vpif_capture.c b/drivers/media/platform/davinci/vpif_capture.c
index 3ccb26ff43c8..d8e1b98b7784 100644
--- a/drivers/media/platform/davinci/vpif_capture.c
+++ b/drivers/media/platform/davinci/vpif_capture.c
@@ -311,6 +311,8 @@ static struct vb2_ops video_qops = {
.start_streaming = vpif_start_streaming,
.stop_streaming = vpif_stop_streaming,
.buf_queue = vpif_buffer_queue,
+ .wait_prepare = vb2_ops_wait_prepare,
+ .wait_finish = vb2_ops_wait_finish,
};
/**