android_kernel_xiaomi_sm8350/drivers/usb/storage
Matthew Dharm 86dbde9cbd [PATCH] USB Storage: retry hard errors
This patch started life as as527, and was rediffed by me.

Since the IDE interface doesn't convey much information about types of
errors, many USB-IDE adapters report all low-level errors with SK = 0x04,
which is supposed to be used only for non-recoverable errors.  As a result
the SCSI midlayer doesn't retry the command.  But quite often a retry
would succeed, whereas an unnecessary retry doesn't really hurt anything.

This patch uses a recently-implemented flag to tell the SCSI midlayer that
such hardware errors should be retried.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-06-27 14:44:03 -07:00
..
datafab.c
datafab.h
debug.c
debug.h
dpcm.c
dpcm.h
freecom.c
freecom.h
initializers.c
initializers.h
isd200.c
isd200.h
jumpshot.c
jumpshot.h
Kconfig
Makefile
protocol.c
protocol.h
scsiglue.c [PATCH] USB Storage: retry hard errors 2005-06-27 14:44:03 -07:00
scsiglue.h [PATCH] USB Storage: port reset on transport error 2005-06-27 14:44:03 -07:00
sddr09.c
sddr09.h
sddr55.c
sddr55.h
shuttle_usbat.c [PATCH] USB: Spelling fixes for drivers/usb. 2005-05-03 23:31:52 -07:00
shuttle_usbat.h
transport.c [PATCH] USB Storage: port reset on transport error 2005-06-27 14:44:03 -07:00
transport.h [PATCH] USB Storage: port reset on transport error 2005-06-27 14:44:03 -07:00
unusual_devs.h [PATCH] USB Storage: Add unusual_devs for Trumpion Voice Recorder 2005-06-03 00:04:30 -07:00
usb.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
usb.h