Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sebastian Andrzej Siewior and committed by
Greg Kroah-Hartman
b147f357 9876cbe2

+1 -1
+1 -1
drivers/usb/dwc3/ep0.c
··· 785 785 786 786 dev_dbg(dwc->dev, "%s while ep%d%s in state '%s'\n", 787 787 dwc3_ep_event_string(event->endpoint_event), 788 - epnum, (epnum & 1) ? "in" : "out", 788 + epnum >> 1, (epnum & 1) ? "in" : "out", 789 789 dwc3_ep0_state_string(dwc->ep0state)); 790 790 791 791 switch (event->endpoint_event) {