]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-ctrls: add a notify callback
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 7 Sep 2012 07:46:39 +0000 (04:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Jan 2013 02:49:54 +0000 (00:49 -0200)
commit9cf1d604c401778b731ba5e354f009023ca2eed8
tree25f60268aad8cf9f45c44b1ef7e8a2f30e506952
parentdb301933b97c629e26cd33e1f08288d188cac0c7
[media] v4l2-ctrls: add a notify callback

Sometimes platform/bridge drivers need to be notified when a control from
a sub-device changes value. In order to support this a notify callback was
added.
[dheitmueller@kernellabs.com: fix merge conflict in v4l2-ctrls.c]

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/v4l2-controls.txt
drivers/media/v4l2-core/v4l2-ctrls.c
include/media/v4l2-ctrls.h