diff options
author | Laurent Pinchart <laurent.pinchart@skynet.be> | 2009-07-20 00:16:05 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@skynet.be> | 2009-07-20 00:16:05 +0200 |
commit | f32c3e119058285fb6ceadc44d235717e45c7d5c (patch) | |
tree | 7cc83afb3bf03f9a25f8f7e0aad11a61a6417fde | |
parent | 391fa9b1286e89a5b82f26c2efc3df18d72428e5 (diff) | |
download | mediapointer-dvb-s2-f32c3e119058285fb6ceadc44d235717e45c7d5c.tar.gz mediapointer-dvb-s2-f32c3e119058285fb6ceadc44d235717e45c7d5c.tar.bz2 |
uvcvideo: Don't apply the FIX_BANDWIDTH quirk to all ViMicro devices
From: Laurent Pinchart <laurent.pinchart@skynet.be>
Commit 50144aeeb702ea105697ae5249f059ea3990b838 broke the Samsung NC10
netbook webcam. Instead of applying the FIX_BANDWIDTH quirk to all ViMicro
devices, list the devices explicitly.
Priority: normal
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
-rw-r--r-- | linux/drivers/media/video/uvc/uvc_driver.c | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/linux/drivers/media/video/uvc/uvc_driver.c b/linux/drivers/media/video/uvc/uvc_driver.c index 1c09cd809..1d09751a3 100644 --- a/linux/drivers/media/video/uvc/uvc_driver.c +++ b/linux/drivers/media/video/uvc/uvc_driver.c @@ -1851,11 +1851,29 @@ static struct usb_device_id uvc_ids[] = { .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, .driver_info = UVC_QUIRK_STREAM_NO_FID }, - /* ViMicro */ + /* ViMicro Vega */ { .match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_INT_INFO, .idVendor = 0x0ac8, - .idProduct = 0x0000, + .idProduct = 0x332d, + .bInterfaceClass = USB_CLASS_VIDEO, + .bInterfaceSubClass = 1, + .bInterfaceProtocol = 0, + .driver_info = UVC_QUIRK_FIX_BANDWIDTH }, + /* ViMicro - Minoru3D */ + { .match_flags = USB_DEVICE_ID_MATCH_VENDOR + | USB_DEVICE_ID_MATCH_INT_INFO, + .idVendor = 0x0ac8, + .idProduct = 0x3410, + .bInterfaceClass = USB_CLASS_VIDEO, + .bInterfaceSubClass = 1, + .bInterfaceProtocol = 0, + .driver_info = UVC_QUIRK_FIX_BANDWIDTH }, + /* ViMicro Venus - Minoru3D */ + { .match_flags = USB_DEVICE_ID_MATCH_VENDOR + | USB_DEVICE_ID_MATCH_INT_INFO, + .idVendor = 0x0ac8, + .idProduct = 0x3420, .bInterfaceClass = USB_CLASS_VIDEO, .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, |