diff options
author | Felipe Balbi <balbi@ti.com> | 2015-07-20 14:46:15 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-07-29 09:59:19 -0500 |
commit | 7eaeac5c0e44921eb583d5b59b9c54741ecaa899 (patch) | |
tree | 20285d7ce6925baa0baca47bebc6ba146bfd10a5 | |
parent | d9972f470bcb40947dd91af90f17f9cb01db1f41 (diff) | |
download | op-kernel-dev-7eaeac5c0e44921eb583d5b59b9c54741ecaa899.zip op-kernel-dev-7eaeac5c0e44921eb583d5b59b9c54741ecaa899.tar.gz |
usb: dwc3: gadget: add a trace when disabling EPs
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>
-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 333a7c0..1f8f730 100644 --- 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 */ |