[media] v4l2-ctrls: add a filter function to v4l2_ctrl_add_handler
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 14 Sep 2012 10:15:03 +0000 (07:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 20:07:07 +0000 (17:07 -0300)
commit34a6b7d093d8fe738ada191b36648d00bc18b7eb
tree854584731068996a381af03b95884911c07074b5
parenta4f64407b9b33122a58cb78afd73f86d4bb022c4
[media] v4l2-ctrls: add a filter function to v4l2_ctrl_add_handler

With a filter function you can control more precisely which controls
are added. This is useful in particular for radio device nodes for
combined TV/Radio cards where you want to show just the radio-specific
controls and not controls like brightness.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/v4l2-controls.txt
drivers/media/pci/cx88/cx88-blackbird.c
drivers/media/pci/cx88/cx88-video.c
drivers/media/platform/s5p-fimc/fimc-capture.c
drivers/media/platform/soc_camera/soc_camera.c
drivers/media/v4l2-core/v4l2-ctrls.c
drivers/media/v4l2-core/v4l2-device.c
include/media/v4l2-ctrls.h