kernel-ark/drivers/media
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
..
common V4L/DVB (11261): saa7146: Remove buffer type check from vidioc_g_parm 2009-03-30 12:43:44 -03:00
dvb V4L/DVB (11290): Add Elgato EyeTV DTT to dibcom driver 2009-03-30 12:43:47 -03:00
radio V4L/DVB (11051): v4l-dvb: replace remaining references to the old mailinglist. 2009-03-30 12:43:23 -03:00
video V4L/DVB (11293): uvcvideo: Add zero fill for VIDIOC_ENUM_FMT 2009-03-30 12:43:48 -03:00
Kconfig V4L/DVB (10633): DAB: fix typo 2009-03-30 12:42:49 -03:00
Makefile V4L/DVB (8274): sms1xxx: build cleanup after driver relocation 2008-07-20 07:20:56 -03:00