Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] media: usb: uvc: add a quirk for Dell XPS M1330 webcam

As reported on [1], this device needs this quirk to be able to
reliably initialise the webcam.

[1] http://ubuntuforums.org/showthread.php?t=2145996

Cc: stable@vger.kernel.org
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

authored by

Paul Fertser and committed by
Mauro Carvalho Chehab
62ea864f 17e1319f

+9
+9
drivers/media/usb/uvc/uvc_driver.c
··· 2238 2238 .bInterfaceSubClass = 1, 2239 2239 .bInterfaceProtocol = 0, 2240 2240 .driver_info = UVC_QUIRK_PROBE_DEF }, 2241 + /* Dell XPS M1330 (OmniVision OV7670 webcam) */ 2242 + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE 2243 + | USB_DEVICE_ID_MATCH_INT_INFO, 2244 + .idVendor = 0x05a9, 2245 + .idProduct = 0x7670, 2246 + .bInterfaceClass = USB_CLASS_VIDEO, 2247 + .bInterfaceSubClass = 1, 2248 + .bInterfaceProtocol = 0, 2249 + .driver_info = UVC_QUIRK_PROBE_DEF }, 2241 2250 /* Apple Built-In iSight */ 2242 2251 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE 2243 2252 | USB_DEVICE_ID_MATCH_INT_INFO,