From: Yu Xu Date: Mon, 19 Dec 2011 09:33:03 +0000 (+0800) Subject: usb: gadget: enlarge maxburst bit width. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a7250db36308424ae040f1b2eeb5bfd0cbee0b0d;p=deliverable%2Flinux.git usb: gadget: enlarge maxburst bit width. For super speed bulk transfer, the max burst size is 16, so that 4 bits of maxburst cannot store it. Signed-off-by: Yu Xu Signed-off-by: Felipe Balbi --- diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 317d8925387c..4d99805bcbb7 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -164,7 +164,7 @@ struct usb_ep { unsigned maxpacket:16; unsigned max_streams:16; unsigned mult:2; - unsigned maxburst:4; + unsigned maxburst:5; u8 address; const struct usb_endpoint_descriptor *desc; const struct usb_ss_ep_comp_descriptor *comp_desc;