Commit b43bba96 authored by Felipe Balbi's avatar Felipe Balbi

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
...@@ -334,8 +334,6 @@ int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, ...@@ -334,8 +334,6 @@ int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep,
ret = -ETIMEDOUT; ret = -ETIMEDOUT;
break; break;
} }
udelay(1);
} while (1); } while (1);
if (unlikely(susphy)) { if (unlikely(susphy)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment