1
0
Fork 0

Revert "storage: Replace magic number with define in usb_stor_euscsi_init()"

This reverts commit bda9893c50 as it was
incorrect.

Reported-by: Mark Knibbs <markk@clara.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Greg Kroah-Hartman 2014-11-05 11:12:17 -08:00
parent b2108f1e51
commit ac0225f94f
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ int usb_stor_euscsi_init(struct us_data *us)
us->iobuf[0] = 0x1;
result = usb_stor_control_msg(us, us->send_ctrl_pipe,
0x0C, USB_RECIP_INTERFACE | USB_TYPE_VENDOR,
0x01, 0x0, us->iobuf, 0x1, USB_CTRL_SET_TIMEOUT);
0x01, 0x0, us->iobuf, 0x1, 5000);
usb_stor_dbg(us, "-- result is %d\n", result);
return 0;