]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:48 +0000 (11:17 -0800)
commit2e3d31e62bccb5189c59bac39dfe108d2f613454
treee6eba37b2a3bf047408cef42b77fc0c1431f5e32
parent32f3f1fa70d524b8e1aa7a7c3bf53f7c1a6706f5
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