diff options
author | Finn Thain <[email protected]> | 2019-11-16 14:36:57 +1100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-11-19 21:37:34 -0500 |
commit | 350767f20be86ee58f862caddadcfa192b9b976d (patch) | |
tree | 0b00a0fe688b08e1eb5c0e74a0a9f13f4cb20000 /drivers/usb/cdns3/cdns3-imx.c | |
parent | aa5334c4f3014940f11bf876e919c956abef4089 (diff) |
scsi: NCR5380: Call scsi_set_resid() on command completion
Most NCR5380 drivers calculate the residual for every data transfer.
(A few drivers just set it to zero.) Pass this quantity back to the scsi
mid-layer on command completion.
Cc: Michael Schmitz <[email protected]>
Cc: Ondrej Zary <[email protected]>
Link: https://lore.kernel.org/r/1f26ead9dd0dc053fcd27979d69a7ca74b6589b4.1573875417.git.fthain@telegraphics.com.au
Reviewed-and-tested-by: Michael Schmitz <[email protected]>
Tested-by: Ondrej Zary <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions