Skip to content

Commit

Permalink
usb: gadget: enlarge maxburst bit width.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yu Xu authored and Felipe Balbi committed Dec 19, 2011
1 parent 91d959d commit a7250db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/usb/gadget.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a7250db

Please sign in to comment.