aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/uvc/uvc_driver.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2009-05-31 16:05:55 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:07:29 -0400
commitd732c44c1a4b54e3c59ad92069bc2fd848aca5f3 (patch)
treed78fc6b272b69a0772de85720e68808a415eb611 /drivers/media/video/uvc/uvc_driver.c
parent926b3b4122e4ebca52e67eecf9beb9a517e593f4 (diff)
V4L/DVB (11944): uvcvideo: Add generic control blacklist.
Another device (5986:0241) has been reported to advertise a UVC control it does not support. Rework the control blacklist to match devices by their VID:PID instead of trying to be clever about which controls might not be supported properly. 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, 1 insertions, 2 deletions
diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c
index 46bfecb194e8..838585990ee8 100644
--- a/drivers/media/video/uvc/uvc_driver.c
+++ b/drivers/media/video/uvc/uvc_driver.c
@@ -1946,8 +1946,7 @@ static struct usb_device_id uvc_ids[] = {
1946 .bInterfaceSubClass = 1, 1946 .bInterfaceSubClass = 1,
1947 .bInterfaceProtocol = 0, 1947 .bInterfaceProtocol = 0,
1948 .driver_info = UVC_QUIRK_PROBE_MINMAX 1948 .driver_info = UVC_QUIRK_PROBE_MINMAX
1949 | UVC_QUIRK_IGNORE_SELECTOR_UNIT 1949 | UVC_QUIRK_IGNORE_SELECTOR_UNIT },
1950 | UVC_QUIRK_PRUNE_CONTROLS },
1951 /* Generic USB Video Class */ 1950 /* Generic USB Video Class */
1952 { USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, 0) }, 1951 { USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, 0) },
1953 {} 1952 {}