aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2008-12-06 15:43:40 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:38:34 -0500
commit2bdd29cf3d4d32e4371fbd6b27ea171f2c1f0836 (patch)
tree58e88b1a72db231f1a076f6f44e81e674ec33c5a /drivers/media/video/uvc/uvcvideo.h
parent0fbd8ee6de6ac3d0b93c96da848c5bc3ccc1dc83 (diff)
V4L/DVB (9810): uvcvideo: Add a device quirk to prune bogus controls.
Bogus controls currently include processing unit auto controls for which no corresponding manual control is available. Such auto controls make little sense if any, and are known to crash at least the SiGma Micro webcam. Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc/uvcvideo.h')
-rw-r--r--drivers/media/video/uvc/uvcvideo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/uvc/uvcvideo.h b/drivers/media/video/uvc/uvcvideo.h
index 437df60e0dae..00d593776b86 100644
--- a/drivers/media/video/uvc/uvcvideo.h
+++ b/drivers/media/video/uvc/uvcvideo.h
@@ -316,6 +316,7 @@ struct uvc_xu_control {
316#define UVC_QUIRK_BUILTIN_ISIGHT 0x00000008 316#define UVC_QUIRK_BUILTIN_ISIGHT 0x00000008
317#define UVC_QUIRK_STREAM_NO_FID 0x00000010 317#define UVC_QUIRK_STREAM_NO_FID 0x00000010
318#define UVC_QUIRK_IGNORE_SELECTOR_UNIT 0x00000020 318#define UVC_QUIRK_IGNORE_SELECTOR_UNIT 0x00000020
319#define UVC_QUIRK_PRUNE_CONTROLS 0x00000040
319 320
320/* Format flags */ 321/* Format flags */
321#define UVC_FMT_FLAG_COMPRESSED 0x00000001 322#define UVC_FMT_FLAG_COMPRESSED 0x00000001