diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2011-09-30 03:58:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-04 13:25:51 -0400 |
commit | b147f3572db230522d158312055f3d28f96fbc92 (patch) | |
tree | 78875ea4b17b7c83c090259d76a4bce4d1e40d35 /drivers/usb | |
parent | 9876cbe2e2ec685ee620056ba1f2cc2f13a2e01a (diff) |
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 <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/dwc3/ep0.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
785 | 785 | ||
786 | dev_dbg(dwc->dev, "%s while ep%d%s in state '%s'\n", | 786 | dev_dbg(dwc->dev, "%s while ep%d%s in state '%s'\n", |
787 | dwc3_ep_event_string(event->endpoint_event), | 787 | dwc3_ep_event_string(event->endpoint_event), |
788 | epnum, (epnum & 1) ? "in" : "out", | 788 | epnum >> 1, (epnum & 1) ? "in" : "out", |
789 | dwc3_ep0_state_string(dwc->ep0state)); | 789 | dwc3_ep0_state_string(dwc->ep0state)); |
790 | 790 | ||
791 | switch (event->endpoint_event) { | 791 | switch (event->endpoint_event) { |