usb_storage: Adjust time-outs
PATCH 5/5 usb_storage: Adjust time-outs
Adjust time-out value for the new EHCI mechanism.
--- .../common/usb_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
common/usb_storage.c +1 -1
@@ -712,7 +712,7 @@ int usb_stor_BBB_transport(ccb *srb, struct us_data *us)else pipe = pipeout; result =usb_bulk_msg (us->pusb_dev, pipe, srb->pdata, srb->datalen, - &data_actlen,USB_CNTL_TIMEOUT *5 ); + &data_actlen,USB_CNTL_TIMEOUT *100 );/* special handling of STALL in DATA phase */ if ((result <0 ) && (us->pusb_dev->status &USB_ST_STALLED )) {USB_STOR_PRINTF ("DATA:stall\n" );
PATCH 5/5 usb_storage: Adjust time-outs
Dear Beno?t Th?baudeau,
Quoted 2 lines
Adjust time-out value for the new EHCI mechanism.
[...]
Ok, I really like this set. I believe it's only one or two reposts away from upstream and I'd love to have it in next release (not this one, as we can't test it in 3 days). I admit I'm not the easiest and fastest custodian, so pardon me at that.
Best regards,
Marek Vasut
PATCH 5/5 usb_storage: Adjust time-outs
Dear Marek,
Quoted 5 lines · Marek Vasut
Quoted 2 lines
Adjust time-out value for the new EHCI mechanism.
[...]
Ok, I really like this set.
Nice to read.
Quoted 7 lines
I believe it's only one or two reposts
away from
upstream and I'd love to have it in next release (not this one, as we can't test
it in 3 days). I admit I'm not the easiest and fastest custodian, so pardon me
at that.
I pardon you.
Regards,
Beno?t
PATCH v3 6/8 usb_storage: Adjust time-outs
In reply to Benoît ThébaudeauAdjust time-out value for the new EHCI mechanism.
---
Changes for v2: None.
Changes for v3: None.
.../common/usb_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
common/usb_storage.c +1 -1
@@ -712,7 +712,7 @@ int usb_stor_BBB_transport(ccb *srb, struct us_data *us)else pipe = pipeout; result =usb_bulk_msg (us->pusb_dev, pipe, srb->pdata, srb->datalen, - &data_actlen,USB_CNTL_TIMEOUT *5 ); + &data_actlen,USB_CNTL_TIMEOUT *100 );/* special handling of STALL in DATA phase */ if ((result <0 ) && (us->pusb_dev->status &USB_ST_STALLED )) {USB_STOR_PRINTF ("DATA:stall\n" );