summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYu Xu <yuxu@marvell.com>2011-12-19 17:33:03 +0800
committerFelipe Balbi <balbi@ti.com>2011-12-19 12:19:50 +0200
commita7250db36308424ae040f1b2eeb5bfd0cbee0b0d (patch)
treef0022374f2365e2eded7df7d7fbf47db05975578 /include
parent91d959d8e5fa52def4bdbb184c57427c29ce7602 (diff)
downloadlinux-3.10-a7250db36308424ae040f1b2eeb5bfd0cbee0b0d.tar.gz
linux-3.10-a7250db36308424ae040f1b2eeb5bfd0cbee0b0d.tar.bz2
linux-3.10-a7250db36308424ae040f1b2eeb5bfd0cbee0b0d.zip
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')
-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 {
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;