From: Sebastian Andrzej Siewior Date: Fri, 30 Sep 2011 07:58:40 +0000 (+0300) Subject: usb: dwc3: ep0: fix debug output X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b147f3572db230522d158312055f3d28f96fbc92;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git usb: dwc3: ep0: fix debug output Use "ep0in" and "ep0out" instead "ep1in" and "ep0out" which is confusing and not consistent with the remaining output. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index e48dce51bcba..2d5725eed13c 100644 --- a/drivers/usb/dwc3/ep0.c +++ b/drivers/usb/dwc3/ep0.c @@ -785,7 +785,7 @@ void dwc3_ep0_interrupt(struct dwc3 *dwc, dev_dbg(dwc->dev, "%s while ep%d%s in state '%s'\n", dwc3_ep_event_string(event->endpoint_event), - epnum, (epnum & 1) ? "in" : "out", + epnum >> 1, (epnum & 1) ? "in" : "out", dwc3_ep0_state_string(dwc->ep0state)); switch (event->endpoint_event) {