diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-05-02 13:09:25 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-04 21:42:55 +0200 |
commit | 0b84834a5a9f5fe8f3760560ef8c5b1536d22bd1 (patch) | |
tree | e52094f733316990d2a01196563339a1046c9402 /drivers/media/video/soc_camera.c | |
parent | [media] Fix cx88 remote control input (diff) | |
download | linux-0b84834a5a9f5fe8f3760560ef8c5b1536d22bd1.tar.xz linux-0b84834a5a9f5fe8f3760560ef8c5b1536d22bd1.zip |
[media] v4l2-subdev: fix broken subdev control enumeration
The v4l2_subdev_* functions are meant for older V4L2 drivers that do not use
the control framework yet. These functions should not be used by subdev_do_ioctl.
Most of those backwards compatibility functions are just stubs, but commit
87a0c94ce616b231f3c0bd09d7dbd39d43b0557a actually changed the behavior of
v4l2_subdev_queryctrl, so calling that one from subdev_do_ioctl broke the
control enumeration in subdev nodes.
The fix is simply not to use those compatibility functions in v4l2-subdev.c.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/soc_camera.c')
0 files changed, 0 insertions, 0 deletions