aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/uvc/uvc_driver.c
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/uvc_driver.c
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/uvc_driver.c')
-rw-r--r--drivers/media/video/uvc/uvc_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c
index a67533f11f2e..1054c7656aef 100644
--- a/drivers/media/video/uvc/uvc_driver.c
+++ b/drivers/media/video/uvc/uvc_driver.c
@@ -1894,7 +1894,8 @@ static struct usb_device_id uvc_ids[] = {
1894 .bInterfaceSubClass = 1, 1894 .bInterfaceSubClass = 1,
1895 .bInterfaceProtocol = 0, 1895 .bInterfaceProtocol = 0,
1896 .driver_info = UVC_QUIRK_PROBE_MINMAX 1896 .driver_info = UVC_QUIRK_PROBE_MINMAX
1897 | UVC_QUIRK_IGNORE_SELECTOR_UNIT}, 1897 | UVC_QUIRK_IGNORE_SELECTOR_UNIT
1898 | UVC_QUIRK_PRUNE_CONTROLS },
1898 /* Generic USB Video Class */ 1899 /* Generic USB Video Class */
1899 { USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, 0) }, 1900 { USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, 0) },
1900 {} 1901 {}