]> git.baikalelectronics.ru Git - kernel.git/commit
uas: Simplify reset / disconnect handling
authorHans de Goede <hdegoede@redhat.com>
Sat, 13 Sep 2014 10:26:36 +0000 (12:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:42:11 +0000 (21:42 -0700)
commit85e9cdb72e8c7eb69a8086cda7e410cf8d2fa388
tree322d4bff0ad27ffddea728df07a064524315f74b
parent8b9d77370183219b585f6d8c76d6da72eb629fa6
uas: Simplify reset / disconnect handling

Drop the whole dance with first moving cmnds to a dead-list. The resetting
flag ensures that no new cmds / urbs will be submitted, and that any urb
completions are short-circuited without trying to complete the scsi cmnd.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c