V4L/DVB: uvcvideo: Flag relative controls as write-only
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 25 Apr 2010 19:23:24 +0000 (16:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:43 +0000 (12:58 -0300)
commita90ef69c1f67319ddbba0170767c660c7fb5d4c9
tree80ef25cdc97a38870e0c6145b3acbd0bf1be05bd
parent61421206833a4085d9bdf35b2b84cd9a67dfdfac
V4L/DVB: uvcvideo: Flag relative controls as write-only

The UVC relative controls (exposure time, iris, focus, zoom, pan/tilt)
are write-only (despite the UVC specification stating that the GET_CUR
request is mandatory). Mark the controls as such, and report the related
V4L2 controls V4L2_CTRL_FLAG_WRITE_ONLY.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_ctrl.c