summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/uvc/uvc_video.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2009-04-20 19:51:49 +0200
committerLaurent Pinchart <laurent.pinchart@skynet.be>2009-04-20 19:51:49 +0200
commit8650091f79531c84de3ffa46f0b0d7655d610a1a (patch)
tree41e391b96b2c7e549e538f86d5e3a1f49bb5324c /linux/drivers/media/video/uvc/uvc_video.c
parentd4b7ca589b79b68daaa259887670edeef1ca37d4 (diff)
downloadmediapointer-dvb-s2-8650091f79531c84de3ffa46f0b0d7655d610a1a.tar.gz
mediapointer-dvb-s2-8650091f79531c84de3ffa46f0b0d7655d610a1a.tar.bz2
uvcvideo: fill reserved fields with zero of VIDIOC_QUERYMENU
From: Márton Németh <nm127@freemail.hu> 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. Priority: normal Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Diffstat (limited to 'linux/drivers/media/video/uvc/uvc_video.c')
0 files changed, 0 insertions, 0 deletions