]> git.baikalelectronics.ru Git - kernel.git/commit
uas: improve device reset
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 30 Nov 2012 10:54:44 +0000 (11:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 20:14:18 +0000 (12:14 -0800)
commitca9c2af7bd9a7b9cce936e2ac096456379d2ea3e
treeddeb1204bc07ef3dbaa5cfc5b5f10838d2cb18a6
parent4cc1f0372afd7500ea097b5af7e8a82bd229d991
uas: improve device reset

Add new function to unlink and abort requests from the work
list, call it on bus reset and disconnect where we kill all
in-flight urbs.  Also reorder calls in disconnect to first
cancel transfers, then remove the scsi hba.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c