diff options
author | Felipe Balbi | 2013-07-12 19:11:57 +0300 |
---|---|---|
committer | Felipe Balbi | 2013-07-29 13:56:56 +0300 |
commit | 653df35e6b3c0df875999a9b842327301269f55d (patch) | |
tree | bdf0227264a895a1f6654cdc6a4038bbb742edab /drivers/usb/dwc3 | |
parent | 9aa62ae4292a2450634345d79a7fa1461bf7b39c (diff) |
usb: dwc3: gadget: add a debugging print when initializing endpoints
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>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index f5efa03972bc..3850ff0b853e 100644 --- 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; |