From: Felipe Balbi Date: Wed, 24 Aug 2016 11:32:39 +0000 (+0300) Subject: usb: dwc3: debug: fix ep name on trace output X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=696fe69d7e631f00f23b0ef1694d9b90058dca54;p=linux-beck.git 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 --- 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";