summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYu Xu <yuxu@marvell.com>2011-12-19 10:33:03 +0100
committerFelipe Balbi <balbi@ti.com>2011-12-19 11:19:50 +0100
commita7250db36308424ae040f1b2eeb5bfd0cbee0b0d (patch)
treef0022374f2365e2eded7df7d7fbf47db05975578 /include
parentusb: gadget: mv_udc: rewrite queue_dtd according to spec (diff)
downloadlinux-a7250db36308424ae040f1b2eeb5bfd0cbee0b0d.tar.xz
linux-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 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;