[media] videodev2.h: add V4L2_CTRL_FLAG_VOLATILE
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 26 Aug 2011 10:31:13 +0000 (07:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Sep 2011 12:52:21 +0000 (09:52 -0300)
commit74a45790861f659058e8f8b565d98e5a1fdd8440
tree753280699fda90996de8006469046876124bea0e
parentb57ce4179b502b3f481f7632da20aae3e488e31a
[media] videodev2.h: add V4L2_CTRL_FLAG_VOLATILE

Add a new VOLATILE control flag that is set for volatile controls.
That way applications know whether the value of the control is volatile
(i.e. can change continuously) or not.

Until now this was an internal property, but it is useful to know in
userspace as well.

A typical use case is the gain value when autogain is on. In that case the
hardware will continuously adjust the gain based various environmental
factors.

This patch just adds and documents the flag, it's not yet used.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/DocBook/media/v4l/compat.xml
Documentation/DocBook/media/v4l/v4l2.xml
Documentation/DocBook/media/v4l/vidioc-queryctrl.xml
include/linux/videodev2.h