diff options
author | Andreas Larsson <andreas@gaisler.com> | 2014-03-27 16:15:57 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-04-21 14:07:27 -0500 |
commit | 5bddbd72c6c02498aba8b48527c86d1398dba3f4 (patch) | |
tree | 434bff2106561e96720d0dbba3203b941d08dcf0 /drivers/usb/gadget/gr_udc.c | |
parent | 73e1c093e83a421d24d54a94cb87031e7c222cd1 (diff) | |
download | op-kernel-dev-5bddbd72c6c02498aba8b48527c86d1398dba3f4.zip op-kernel-dev-5bddbd72c6c02498aba8b48527c86d1398dba3f4.tar.gz |
usb: gadget: gr_udc: Add ep.maxpacket_limit to debugfs information
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>
Diffstat (limited to 'drivers/usb/gadget/gr_udc.c')
-rw-r--r-- | drivers/usb/gadget/gr_udc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/gr_udc.c b/drivers/usb/gadget/gr_udc.c index 0f3a953..253e608 100644 --- 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", |