]> git.baikalelectronics.ru Git - kernel.git/commit
USB: storage: Never reset devices that will morph to an old mode
authorOliver Neukum <oliver@neukum.org>
Fri, 18 Dec 2009 11:14:21 +0000 (12:14 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:23 +0000 (14:53 -0800)
commitd0608111f2e169599db163a632a39a87dafff534
treef677d4014bd5e25d1f4ccac1862fd95655baedec
parentff3a509b8e5faa1a74aba099db538b29bccd0b51
USB: storage: Never reset devices that will morph to an old mode

Some devices must be switched to a new mode to fully use them.
A reset would make them revert to the old mode. Therefore a reset
must not be used for error handling with such devices.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/quirks.c
drivers/usb/storage/transport.c
include/linux/usb/quirks.h