projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73e1c09
)
usb: gadget: gr_udc: Add ep.maxpacket_limit to debugfs information
author
Andreas Larsson
<andreas@gaisler.com>
Thu, 27 Mar 2014 15:15:57 +0000
(16:15 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 21 Apr 2014 19:07:27 +0000
(14:07 -0500)
Add information on ep.maxpacket_limit for each endpoint in the debugfs
information.
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/gr_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/gr_udc.c
b/drivers/usb/gadget/gr_udc.c
index 0f3a9531479a5a5623c732e89769010675a84b68..253e608b57f93ddfe6794463d511c92f64352d04 100644
(file)
--- a/
drivers/usb/gadget/gr_udc.c
+++ b/
drivers/usb/gadget/gr_udc.c
@@
-143,6
+143,7
@@
static void gr_seq_ep_show(struct seq_file *seq, struct gr_ep *ep)
seq_printf(seq, " wedged = %d\n", ep->wedged);
seq_printf(seq, " callback = %d\n", ep->callback);
seq_printf(seq, " maxpacket = %d\n", ep->ep.maxpacket);
+ seq_printf(seq, " maxpacket_limit = %d\n", ep->ep.maxpacket_limit);
seq_printf(seq, " bytes_per_buffer = %d\n", ep->bytes_per_buffer);
if (mode == 1 || mode == 3)
seq_printf(seq, " nt = %d\n",