android_kernel_xiaomi_sm8350/drivers/usb/core
Alan Stern 580da34847 Fix USB storage hang on command abort
Okay, I found the cause of the hang.  It is a simple bug in the USB
scatter-gather library, caused by changes added in response to the S-G
chaining modification.

This patch (as1125) fixes a bug in the USB scatter-gather library.
Early exit from the S-G initialization loop does not reset the count of
outstanding URBs.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-05 10:23:19 -07:00
..
buffer.c
config.c
devices.c
devio.c device create: usb: convert device_create to device_create_drvdata 2008-07-21 21:54:46 -07:00
driver.c
endpoint.c
file.c device create: usb: convert device_create to device_create_drvdata 2008-07-21 21:54:46 -07:00
generic.c
hcd-pci.c
hcd.c
hcd.h
hub.c USB: use reset_resume when normal resume fails 2008-07-21 15:16:48 -07:00
hub.h
inode.c usbfs: send disconnect signals when device is unregistered 2008-07-21 15:16:40 -07:00
Kconfig
Makefile
message.c Fix USB storage hang on command abort 2008-08-05 10:23:19 -07:00
notify.c
otg_whitelist.h
quirks.c
sysfs.c
urb.c
usb.c
usb.h usbfs: send disconnect signals when device is unregistered 2008-07-21 15:16:40 -07:00