aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2017-05-16 11:47:52 -0400
committerGreg Kroah-Hartman <[email protected]>2017-05-18 16:05:24 +0200
commitaa18c4b6e0e39bfb00af48734ec24bc189ac9909 (patch)
treeb657e37b4f7df16304f2c18b60e64010d49baf5c /tools/perf/scripts/python/bin
parent4b309f1c4972c8f09e03ac64fc63510dbf5591a4 (diff)
USB: ene_usb6250: fix SCSI residue overwriting
In the ene_usb6250 sub-driver for usb-storage, the SCSI residue is not reported correctly. The residue is initialized to 0, but this value is overwritten whenever the driver sends firmware to the card reader before performing the current command. As a result, a valid READ or WRITE operation appears to have failed, causing the SCSI core to retry the command multiple times and eventually fail. This patch fixes the problem by resetting the SCSI residue to 0 after sending firmware to the device. Signed-off-by: Alan Stern <[email protected]> Reported-and-tested-by: Andreas Hartmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions