linux/drivers/media/video/uvc
Márton Németh 2460cdac94 V4L/DVB (11574): uvcvideo: fill reserved fields with zero of VIDIOC_QUERYMENU
When querying menu items with VIDIOC_QUERYMENU the reserved field
is not set to zero as required by V4L2 API revision 0.24 [1].
Add this fill.

The patch was tested with v4l-test 0.11 [2] with CNF7129 webcam found
on EeePC 901.

References:
[1] V4L2 API specification, revision 0.24
    http://v4l2spec.bytesex.org/spec/r13317.htm#V4L2-QUERYMENU

[2] v4l-test: Test environment for Video For Linux Two API
    http://v4l-test.sourceforge.net/

[Modified by Laurent Pinchart]

Use u32 instead of __u32 in non-exported kernel code.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16 18:20:37 -03:00
..
Kconfig V4L/DVB (11439): UVC: uvc_status_cleanup(): undefined reference to `input_unregister_device' 2009-04-06 21:44:52 -03:00
Makefile
uvc_ctrl.c V4L/DVB (10293): uvcvideo: replace strn{cpy,cat} with strl{cpy,cat}. 2009-03-30 12:42:26 -03:00
uvc_driver.c V4L/DVB (11669): uvc: fix compile warning 2009-05-09 18:52:40 -03:00
uvc_isight.c V4L/DVB (10197): uvcvideo: Whitespace and comments cleanup, copyright updates. 2009-01-29 08:35:36 -02:00
uvc_queue.c V4L/DVB (10197): uvcvideo: Whitespace and comments cleanup, copyright updates. 2009-01-29 08:35:36 -02:00
uvc_status.c V4L/DVB (10296): uvcvideo: Fix memory leak in input device handling 2009-03-30 12:42:26 -03:00
uvc_v4l2.c V4L/DVB (11574): uvcvideo: fill reserved fields with zero of VIDIOC_QUERYMENU 2009-06-16 18:20:37 -03:00
uvc_video.c V4L/DVB (11575): uvcvideo: fix uvc resume failed 2009-05-09 18:50:40 -03:00
uvcvideo.h V4L/DVB (10652): uvcvideo: Add quirk to override wrong bandwidth value for Vimicro devices 2009-03-30 12:42:51 -03:00