linux/drivers/media/video/uvc
Márton Németh 8bbd90ce80 V4L/DVB (11293): uvcvideo: Add zero fill for VIDIOC_ENUM_FMT
When enumerating formats with VIDIOC_ENUM_FMT the uvcvideo driver does not
fill the reserved fields of the struct v4l2_fmtdesc with zeros as required by
V4L2 API revision 0.24 [1]. Add the missing initializations.

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

References:
[1] V4L2 API specification, revision 0.24
    http://v4l2spec.bytesex.org/spec/r8367.htm

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

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-03-30 12:43:48 -03:00
..
Kconfig V4L/DVB (8234): uvcvideo: Make input device support optional 2008-07-20 07:18:09 -03:00
Makefile V4L/DVB (8178): uvc: Fix compilation breakage for the other drivers, if uvc is selected 2008-07-02 08:58:15 -03:00
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 (11292): uvcvideo: Add support for Syntek cameras found in JAOtech Smart Terminals 2009-03-30 12:43:47 -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 (11293): uvcvideo: Add zero fill for VIDIOC_ENUM_FMT 2009-03-30 12:43:48 -03:00
uvc_video.c V4L/DVB (10652): uvcvideo: Add quirk to override wrong bandwidth value for Vimicro devices 2009-03-30 12:42:51 -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