Searched hist:ce553bd1 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/storage/ |
H A D | ene_ub6250.c | ce553bd1 Tue May 16 10:48:01 CDT 2017 Alan Stern <stern@rowland.harvard.edu> USB: ene_usb6250: implement REQUEST SENSE
In the ene_usb6250 sub-driver for usb-storage, there is no support for the REQUEST SENSE command. This command is issued whenever a failure occurs, and without it the driver has no way to tell the SCSI core what the reason for the failure was.
This patch adds a do_scsi_request_sense() routine to the driver. The new routine reports the error code stored by the previous command.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-and-tested-by: Andreas Hartmann <andihartmann@01019freenet.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ce553bd1 Tue May 16 10:48:01 CDT 2017 Alan Stern <stern@rowland.harvard.edu> USB: ene_usb6250: implement REQUEST SENSE In the ene_usb6250 sub-driver for usb-storage, there is no support for the REQUEST SENSE command. This command is issued whenever a failure occurs, and without it the driver has no way to tell the SCSI core what the reason for the failure was. This patch adds a do_scsi_request_sense() routine to the driver. The new routine reports the error code stored by the previous command. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-and-tested-by: Andreas Hartmann <andihartmann@01019freenet.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|