[media] uvcvideo: Document the struct uvc_xu_control_query query field
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 14 May 2012 07:34:34 +0000 (04:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 18:26:45 +0000 (15:26 -0300)
commit7078daa020db5ba501fa3de64b8653c221a640b4
treea059d8428a04afe29e9bdce18b52b13b2d738651
parent257ee97eeb90aaf70cc891577d69afa63d81ceea
[media] uvcvideo: Document the struct uvc_xu_control_query query field

Several developers have reported that the lack of macros for the struct
uvc_xu_control_query query field in uvcvideo.h was confusing and forced
them to look at the driver source code to find out what applications
were supposed to pass in that field.

Add a comment to the header to clarify the expected usage of the query
field.

Reported-by: Paulo Assis <pj.assis@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/linux/uvcvideo.h