diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-24 07:32:39 -0400 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-25 03:36:25 -0400 |
commit | 696fe69d7e631f00f23b0ef1694d9b90058dca54 (patch) | |
tree | ef82978837a3cf6151c1b7667be959788a8369e9 | |
parent | 23fd537c9508fb6e3b93ddf23982f51afc087781 (diff) |
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) | |||
192 | int ret; | 192 | int ret; |
193 | 193 | ||
194 | ret = sprintf(str, "ep%d%s: ", epnum >> 1, | 194 | ret = sprintf(str, "ep%d%s: ", epnum >> 1, |
195 | (epnum & 1) ? "in" : "in"); | 195 | (epnum & 1) ? "in" : "out"); |
196 | if (ret < 0) | 196 | if (ret < 0) |
197 | return "UNKNOWN"; | 197 | return "UNKNOWN"; |
198 | 198 | ||