usb: dwc3: ep0: fix debug output
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 30 Sep 2011 07:58:40 +0000 (10:58 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:25:51 +0000 (10:25 -0700)
Use "ep0in" and "ep0out" instead "ep1in" and "ep0out" which is confusing
and not consistent with the remaining output.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/dwc3/ep0.c

index e48dce51bcbae37cc3d789c5cc959ba23e59dc90..2d5725eed13c25c2d3fee18bc195f5ab3636b16e 100644 (file)
@@ -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) {
This page took 0.0262 seconds and 5 git commands to generate.