]> git.baikalelectronics.ru Git - kernel.git/commit
USB: add RESET_RESUME for webcams shown to be quirky
authorOliver Neukum <oneukum@suse.de>
Tue, 13 Sep 2011 06:42:21 +0000 (08:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 18 Sep 2011 08:48:37 +0000 (01:48 -0700)
commitfc32294cbf34ece5b1f37c750e2514da59bca7d8
treecfc8e7d1a4bb7948658762f7e18be3946f88cf43
parent2ae19b55360c79a26090da6eeaff4d1019cb6f05
USB: add RESET_RESUME for webcams shown to be quirky

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: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/quirks.c