USB: add RESET_RESUME for webcams shown to be quirky
commit8069ff2c2112b09f176d37576dd719d18daab794
authorOliver Neukum <oneukum@suse.de>
Tue, 13 Sep 2011 06:42:21 +0000 (13 08:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Nov 2011 20:32:21 +0000 (7 12:32 -0800)
tree73d34940f0efe7f828ceebcc5abfa7b8ddf29488
parentf37a43137b2ec8c551a8fd205e09cd50f20f3f87
USB: add RESET_RESUME for webcams shown to be quirky

commit 2394d67e446bf616a0885167d5f0d397bdacfdfc upstream.

The new runtime PM code has shown that many webcams suffer
from a race condition that may crash them upon resume.
Runtime PM is especially prone to show the problem because
it retains power to the cameras at all times. However
system suspension may also crash the devices and retain
power to the devices.
The only way to solve this problem without races is in
usbcore with the RESET_RESUME quirk.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/quirks.c