lkml.org 
[lkml]   [2009]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH]: uvcvideo: fill reserved fields with zero of VIDIOC_QUERYMENU
Date
Hi,

On Saturday 18 April 2009 16:59:20 Németh Márton wrote:
> 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/

Applied with a small modification (use u32 instead of __u32).

Thanks.

Best regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-04-20 20:09    [W:3.299 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site