diff options
author | Ricardo Ribalda <ricardo.ribalda@gmail.com> | 2015-03-20 09:45:43 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-08 05:33:26 -0400 |
commit | b6e5b8f1a90230f922de8af59cdaf1ad83e1ac1e (patch) | |
tree | f22666c1863d0b29df6bfb09eebdbca90a7e05f2 /include/uapi/linux | |
parent | b08d8d26f4520187e09191f0c45374383b5a74eb (diff) |
[media] media: New flag V4L2_CTRL_FLAG_EXECUTE_ON_WRITE
Create a new flag that represent controls which its value needs to be
passed to the driver even if it has not changed.
They typically represent actions, like triggering a flash or clearing an
error flag. So writing to such a control means some action is executed.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@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/uapi/linux')
-rw-r--r-- | include/uapi/linux/videodev2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 47df18f36c4b..810bade873f4 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h | |||
@@ -1457,6 +1457,7 @@ struct v4l2_querymenu { | |||
1457 | #define V4L2_CTRL_FLAG_WRITE_ONLY 0x0040 | 1457 | #define V4L2_CTRL_FLAG_WRITE_ONLY 0x0040 |
1458 | #define V4L2_CTRL_FLAG_VOLATILE 0x0080 | 1458 | #define V4L2_CTRL_FLAG_VOLATILE 0x0080 |
1459 | #define V4L2_CTRL_FLAG_HAS_PAYLOAD 0x0100 | 1459 | #define V4L2_CTRL_FLAG_HAS_PAYLOAD 0x0100 |
1460 | #define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE 0x0200 | ||
1460 | 1461 | ||
1461 | /* Query flags, to be ORed with the control ID */ | 1462 | /* Query flags, to be ORed with the control ID */ |
1462 | #define V4L2_CTRL_FLAG_NEXT_CTRL 0x80000000 | 1463 | #define V4L2_CTRL_FLAG_NEXT_CTRL 0x80000000 |