Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7250db3 authored by Yu Xu's avatar Yu Xu Committed by Felipe Balbi
Browse files

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: default avatarYu Xu <yuxu@marvell.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 91d959d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -164,7 +164,7 @@ struct usb_ep {
	unsigned		maxpacket:16;
	unsigned		maxpacket:16;
	unsigned		max_streams:16;
	unsigned		max_streams:16;
	unsigned		mult:2;
	unsigned		mult:2;
	unsigned		maxburst:4;
	unsigned		maxburst:5;
	u8			address;
	u8			address;
	const struct usb_endpoint_descriptor	*desc;
	const struct usb_endpoint_descriptor	*desc;
	const struct usb_ss_ep_comp_descriptor	*comp_desc;
	const struct usb_ss_ep_comp_descriptor	*comp_desc;