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:
d9972f4
)
usb: dwc3: gadget: add a trace when disabling EPs
author
Felipe Balbi
<balbi@ti.com>
Mon, 20 Jul 2015 19:46:15 +0000
(14:46 -0500)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 29 Jul 2015 14:59:19 +0000
(09:59 -0500)
We have a "Enabling %s" trace when enabling an endpoint
but that message felt lonely without a matching
"Disabling %s". Add it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc3/gadget.c
b/drivers/usb/dwc3/gadget.c
index 333a7c0078fcf922b9effaae3deff795d8b0f63e..1f8f730c7cc5bb491ad2c933215be41ffd431451 100644
(file)
--- a/
drivers/usb/dwc3/gadget.c
+++ b/
drivers/usb/dwc3/gadget.c
@@
-586,6
+586,8
@@
static int __dwc3_gadget_ep_disable(struct dwc3_ep *dep)
struct dwc3 *dwc = dep->dwc;
u32 reg;
+ dwc3_trace(trace_dwc3_gadget, "Disabling %s", dep->name);
+
dwc3_remove_requests(dwc, dep);
/* make sure HW endpoint isn't stalled */