diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-24 14:32:39 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-25 10:36:25 +0300 |
commit | 696fe69d7e631f00f23b0ef1694d9b90058dca54 (patch) | |
tree | ef82978837a3cf6151c1b7667be959788a8369e9 | |
parent | 23fd537c9508fb6e3b93ddf23982f51afc087781 (diff) | |
download | linux-696fe69d7e631f00f23b0ef1694d9b90058dca54.tar.xz |
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.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
-rw-r--r-- | drivers/usb/dwc3/debug.h | 2 |
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"; |