projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa62ae
)
usb: dwc3: gadget: add a debugging print when initializing endpoints
author
Felipe Balbi
<balbi@ti.com>
Fri, 12 Jul 2013 16:11:57 +0000
(19:11 +0300)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 29 Jul 2013 10:56:56 +0000
(13:56 +0300)
that way we get debugging information when
enabling verbose debug of the driver.
It will be no-op otherwise.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/gadget.c
b/drivers/usb/dwc3/gadget.c
index
f5efa03
..
3850ff0
100644
(file)
--- a/
drivers/usb/dwc3/gadget.c
+++ b/
drivers/usb/dwc3/gadget.c
@@
-1650,6
+1650,8
@@
static int dwc3_gadget_init_hw_endpoints(struct dwc3 *dwc,
dep->endpoint.name = dep->name;
+ dev_vdbg(dwc->dev, "initializing %s\n", dep->name);
+
if (epnum == 0 || epnum == 1) {
dep->endpoint.maxpacket = 512;
dep->endpoint.maxburst = 1;