aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorYu Xu <yuxu@marvell.com>2011-12-19 04:33:03 -0500
committerFelipe Balbi <balbi@ti.com>2011-12-19 05:19:50 -0500
commita7250db36308424ae040f1b2eeb5bfd0cbee0b0d (patch)
treef0022374f2365e2eded7df7d7fbf47db05975578 /include/linux/usb
parent91d959d8e5fa52def4bdbb184c57427c29ce7602 (diff)
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 <yuxu@marvell.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/gadget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index 317d8925387..4d99805bcbb 100644
--- a/include/linux/usb/gadget.h
+++ b/include/linux/usb/gadget.h
@@ -164,7 +164,7 @@ struct usb_ep {
164 unsigned maxpacket:16; 164 unsigned maxpacket:16;
165 unsigned max_streams:16; 165 unsigned max_streams:16;
166 unsigned mult:2; 166 unsigned mult:2;
167 unsigned maxburst:4; 167 unsigned maxburst:5;
168 u8 address; 168 u8 address;
169 const struct usb_endpoint_descriptor *desc; 169 const struct usb_endpoint_descriptor *desc;
170 const struct usb_ss_ep_comp_descriptor *comp_desc; 170 const struct usb_ss_ep_comp_descriptor *comp_desc;