linux/drivers/media
Hans Verkuil 072e660257 [media] v4l2-ctrls: v4l2_ctrl_add_handler should add all refs
Currently v4l2_ctrl_add_handler adds only the controls that are owned
by the handler. This is wrong. Instead all controls, whether owned or
not, should be added.

This is also implied by the v4l2-controls.txt documentation and it is
clearly the right thing to do. The only reason this was never noticed
before is because we never did this. Only recent changes in ivtv made
this error visible because there a third handler layer was added (handler
A inherits from handler B which inherits from C, D and E). Without this
change handler A only sees the controls owned by handler B and the controls
from C, D and E are missing.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-08 11:03:26 -03:00
..
common [media] media: tuners: append $(srctree) to -I parameters 2012-03-08 10:41:15 -03:00
dvb [media] media: dvb: append $(srctree) to -I parameters 2012-03-08 10:41:22 -03:00
radio [media] [trivial]: Fix typo in radio-sf16fmr2.c 2012-03-08 09:00:30 -03:00
rc [media] Add support for KWorld PC150-U ATSC hybrid tuner card 2012-03-08 11:01:25 -03:00
video [media] v4l2-ctrls: v4l2_ctrl_add_handler should add all refs 2012-03-08 11:03:26 -03:00
Kconfig [media] DVB: dvb-net, make the kconfig text helpful 2011-07-27 17:53:09 -03:00
Makefile
media-device.c [media] media: fix truncated entity specification 2011-12-20 09:31:50 -02:00
media-devnode.c
media-entity.c