]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b25b1cabc782ad158535f625806a3b5f1d475d1
tree80ef25cdc97a38870e0c6145b3acbd0bf1be05bd
parentf50f8623b5d4f9a6f2b4693abfdb2058db17f8fe
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