summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/ep0.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-09-26 13:23:34 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-10-31 11:17:34 +0200
commit43c96be1c46eb6ce292643f659221c7fca90bb84 (patch)
treee409c7b42b6060c55a8ee5f4c60a17d6101e6e1d /drivers/usb/dwc3/ep0.c
parentcdd72ac20b4a769ad2aaf98223f853c719c5eda7 (diff)
downloadlinux-stable-43c96be1c46eb6ce292643f659221c7fca90bb84.tar.gz
linux-stable-43c96be1c46eb6ce292643f659221c7fca90bb84.tar.bz2
linux-stable-43c96be1c46eb6ce292643f659221c7fca90bb84.zip
usb: dwc3: trace: print out ep0state also from XferComplete
With this extra piece of information, it will be easier to find mismatches between driver and HW. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/ep0.c')
-rw-r--r--drivers/usb/dwc3/ep0.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c
index 1be54712147e..c562613ccd1a 100644
--- a/drivers/usb/dwc3/ep0.c
+++ b/drivers/usb/dwc3/ep0.c
@@ -1078,10 +1078,6 @@ static void dwc3_ep0_xfernotready(struct dwc3 *dwc,
void dwc3_ep0_interrupt(struct dwc3 *dwc,
const struct dwc3_event_depevt *event)
{
- dwc3_trace(trace_dwc3_ep0, "%s: state '%s'",
- dwc3_ep_event_string(event),
- dwc3_ep0_state_string(dwc->ep0state));
-
switch (event->endpoint_event) {
case DWC3_DEPEVT_XFERCOMPLETE:
dwc3_ep0_xfer_complete(dwc, event);