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)
commit5d3987796c7a747e5ed3ded1eb64a9632d52a1a4
treef677d4014bd5e25d1f4ccac1862fd95655baedec
parentd1b5b5c0a8a8204f0c51d5eb99736ecfb2fd5b4e
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