projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91d959d
)
usb: gadget: enlarge maxburst bit width.
author
Yu Xu
<yuxu@marvell.com>
Mon, 19 Dec 2011 09:33:03 +0000
(17:33 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 19 Dec 2011 10:19:50 +0000
(12:19 +0200)
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>
include/linux/usb/gadget.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/usb/gadget.h
b/include/linux/usb/gadget.h
index 317d8925387c2efa1f2319f99d0bbf094d68f508..4d99805bcbb718378013431050a166ef949589a5 100644
(file)
--- 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;