]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l2-ctrls: always send an event if a control changed implicitly
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 5 Jul 2011 10:09:26 +0000 (07:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 7 Jul 2011 22:05:50 +0000 (19:05 -0300)
commitb254888827e2b19f9453069b026f7d745a39649b
tree0f33e8eb1e1a3e11b4f4d06adda66e6a5fb7a4f5
parentcc449d65263dd5d41b685541f77961b9369443ee
[media] v4l2-ctrls: always send an event if a control changed implicitly

By default no control events are sent to the application that caused the
control value or flags change (i.e. the control(s) passed to VIDIOC_S_CTRL
or VIDIOC_S_EXT_CTRLS). But if a change in one control causes a change in
another control that was not part of the control(s) in VIDIOC_S_CTRL or
S_EXT_CTRLS, then the application should be notified.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ctrls.c