summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-08-24 14:32:39 +0300
committerWilliam Wu <william.wu@rock-chips.com>2019-03-20 11:31:37 +0800
commitad5d0418d37c5ca7cd70f65967619ef74446ddb3 (patch)
treed8a56fb9403f24b4be85f3a2aea148b3d8e5a447
parente27dfc2ce4e8f80c84d78dd7d7d15ed2fe6b8dbd (diff)
UPSTREAM: usb: dwc3: debug: fix ep name on trace output
There was a typo when generating endpoint name which would be very confusing when debugging. Fix it. Change-Id: If29433f427499674b7604b399cbc3ac6e6bf7b1f Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: William Wu <william.wu@rock-chips.com> (cherry picked from commit 696fe69d7e631f00f23b0ef1694d9b90058dca54)
-rw-r--r--drivers/usb/dwc3/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/debug.h b/drivers/usb/dwc3/debug.h
index 22dfc3dd6a13..33ab2a203c1b 100644
--- a/drivers/usb/dwc3/debug.h
+++ b/drivers/usb/dwc3/debug.h
@@ -192,7 +192,7 @@ dwc3_ep_event_string(const struct dwc3_event_depevt *event)
int ret;
ret = sprintf(str, "ep%d%s: ", epnum >> 1,
- (epnum & 1) ? "in" : "in");
+ (epnum & 1) ? "in" : "out");
if (ret < 0)
return "UNKNOWN";