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

Commit b43bba96 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: gadget: remove udelay(1) when sending ep cmds



When we send an endpoint command, we want that to
complete as soon as possible, so let's remove the
unnecessary udelay(1) call.

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 6aff4832
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -334,8 +334,6 @@ int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep,
			ret = -ETIMEDOUT;
			break;
		}

		udelay(1);
	} while (1);

	if (unlikely(susphy)) {