aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorPrabhakar Lad <prabhakar.csengg@gmail.com>2014-10-12 16:40:42 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 14:11:15 -0400
commit1b73f03cbf483dbf986cb299f6d6c4ebdfbe6ba7 (patch)
tree6580edb26a903683dde170e3d01a7930f13572f2 /include/media
parentc24376f30262c5ceb26f49da34edff6512d7c671 (diff)
[media] media: davinci: vpbe: use helpers provided by core if streaming is started
this patch uses vb2_is_busy() helper to check if streaming is actually started, instead of driver managing it. 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 'include/media')
-rw-r--r--include/media/davinci/vpbe_display.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/media/davinci/vpbe_display.h b/include/media/davinci/vpbe_display.h
index 06ea81576e5f..de0843d6f05c 100644
--- a/include/media/davinci/vpbe_display.h
+++ b/include/media/davinci/vpbe_display.h
@@ -106,12 +106,8 @@ struct vpbe_layer {
106 unsigned char window_enable; 106 unsigned char window_enable;
107 /* number of open instances of the layer */ 107 /* number of open instances of the layer */
108 unsigned int usrs; 108 unsigned int usrs;
109 /* number of users performing IO */
110 unsigned int io_usrs;
111 /* Indicates id of the field which is being displayed */ 109 /* Indicates id of the field which is being displayed */
112 unsigned int field_id; 110 unsigned int field_id;
113 /* Indicates whether streaming started */
114 unsigned char started;
115 /* Identifies device object */ 111 /* Identifies device object */
116 enum vpbe_display_device_id device_id; 112 enum vpbe_display_device_id device_id;
117 /* facilitation of ioctl ops lock by v4l2*/ 113 /* facilitation of ioctl ops lock by v4l2*/