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

Commit 653df35e authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: gadget: add a debugging print when initializing endpoints



that way we get debugging information when
enabling verbose debug of the driver.

It will be no-op otherwise.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 9aa62ae4
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1650,6 +1650,8 @@ static int dwc3_gadget_init_hw_endpoints(struct dwc3 *dwc,


		dep->endpoint.name = dep->name;
		dep->endpoint.name = dep->name;


		dev_vdbg(dwc->dev, "initializing %s\n", dep->name);

		if (epnum == 0 || epnum == 1) {
		if (epnum == 0 || epnum == 1) {
			dep->endpoint.maxpacket = 512;
			dep->endpoint.maxpacket = 512;
			dep->endpoint.maxburst = 1;
			dep->endpoint.maxburst = 1;