usb: Add device quirk for Logitech HD Pro Webcams C920 and C930e
authorJulius Werner <jwerner@chromium.org>
Tue, 4 Mar 2014 18:52:39 +0000 (10:52 -0800)
committerJiri Slaby <jslaby@suse.cz>
Sat, 22 Mar 2014 21:01:54 +0000 (22:01 +0100)
commit9fd702bc4b09311a7ce664d68bb9dc8ac45de7ea
tree5648d089f622e8523808eec0ec9d393fa2faba7b
parent7e737ca2da1b7df87dc4d20eebde00a8142b0f6c
usb: Add device quirk for Logitech HD Pro Webcams C920 and C930e

commit e0429362ab15c46ea4d64c3f8c9e0933e48a143a upstream.

We've encountered a rare issue when enumerating two Logitech webcams
after a reboot that doesn't power cycle the USB ports. They are spewing
random data (possibly some leftover UVC buffers) on the second
(full-sized) Get Configuration request of the enumeration phase. Since
the data is random this can potentially cause all kinds of odd behavior,
and since it occasionally happens multiple times (after the kernel
issues another reset due to the garbled configuration descriptor), it is
not always recoverable. Set the USB_DELAY_INIT quirk that seems to work
around the issue.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/core/quirks.c