aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/storage_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/storage_common.c')
-rw-r--r--drivers/usb/gadget/storage_common.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/gadget/storage_common.c b/drivers/usb/gadget/storage_common.c
index 86fcebd89abe..109635a84888 100644
--- a/drivers/usb/gadget/storage_common.c
+++ b/drivers/usb/gadget/storage_common.c
@@ -286,6 +286,13 @@ struct fsg_buffhd {
286 enum fsg_buffer_state state; 286 enum fsg_buffer_state state;
287 struct fsg_buffhd *next; 287 struct fsg_buffhd *next;
288 288
289 /*
290 * The NetChip 2280 is faster, and handles some protocol faults
291 * better, if we don't submit any short bulk-out read requests.
292 * So we will record the intended request length here.
293 */
294 unsigned int bulk_out_intended_length;
295
289 struct usb_request *inreq; 296 struct usb_request *inreq;
290 int inreq_busy; 297 int inreq_busy;
291 struct usb_request *outreq; 298 struct usb_request *outreq;