[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)
commit8ac7a9493a4380a8a886fbfe311ab00bc424ca0f
tree25f60268aad8cf9f45c44b1ef7e8a2f30e506952
parent20deebfe17b20ded00ba404adbcd014eb2b024c1
[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