Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 696fe69d authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 23fd537c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";