浏览代码

V4L/DVB (10686): v4l2: add V4L2_CTRL_FLAG_WRITE_ONLY flag.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil 16 年之前
父节点
当前提交
1a367f3bc3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/linux/videodev2.h

+ 1 - 0
include/linux/videodev2.h

@@ -830,6 +830,7 @@ struct v4l2_querymenu {
 #define V4L2_CTRL_FLAG_UPDATE 		0x0008
 #define V4L2_CTRL_FLAG_UPDATE 		0x0008
 #define V4L2_CTRL_FLAG_INACTIVE 	0x0010
 #define V4L2_CTRL_FLAG_INACTIVE 	0x0010
 #define V4L2_CTRL_FLAG_SLIDER 		0x0020
 #define V4L2_CTRL_FLAG_SLIDER 		0x0020
+#define V4L2_CTRL_FLAG_WRITE_ONLY 	0x0040
 
 
 /*  Query flag, to be ORed with the control ID */
 /*  Query flag, to be ORed with the control ID */
 #define V4L2_CTRL_FLAG_NEXT_CTRL	0x80000000
 #define V4L2_CTRL_FLAG_NEXT_CTRL	0x80000000