[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>
Wed, 27 Jul 2011 20:55:38 +0000 (17:55 -0300)
commit639884a6d94ffa16d76b131a55f65748ca0c94f2
treecd316d1dddb8fd144e6463bc41023a91523d2292
parentadf41b9bc35a7406ead7875f66ee879dbd4cc308
[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