From: Laurent Pinchart Date: Fri, 25 Jun 2010 07:58:43 +0000 (-0300) Subject: [media] uvcvideo: Override wrong bandwidth value for Hercules Classic Silver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e01a234407af60c4b9854d069a7217d75fcdfa29;p=linux-beck.git [media] uvcvideo: Override wrong bandwidth value for Hercules Classic Silver Set the FIX_BANDWIDTH quirk for the device. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c index 0baa4642537f..496a9de6abd6 100644 --- a/drivers/media/video/uvc/uvc_driver.c +++ b/drivers/media/video/uvc/uvc_driver.c @@ -2082,6 +2082,15 @@ static struct usb_device_id uvc_ids[] = { .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, .driver_info = UVC_QUIRK_STREAM_NO_FID }, + /* Hercules Classic Silver */ + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE + | USB_DEVICE_ID_MATCH_INT_INFO, + .idVendor = 0x06f8, + .idProduct = 0x300c, + .bInterfaceClass = USB_CLASS_VIDEO, + .bInterfaceSubClass = 1, + .bInterfaceProtocol = 0, + .driver_info = UVC_QUIRK_FIX_BANDWIDTH }, /* ViMicro Vega */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO,