Skip to content

Commit

Permalink
usb: dwc3: gadget: remove udelay(1) when sending ep cmds
Browse files Browse the repository at this point in the history
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: Felipe Balbi <felipe.balbi@linux.intel.com>
  • Loading branch information
Felipe Balbi committed Jun 20, 2016
1 parent 6aff483 commit b43bba9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit b43bba9

Please sign in to comment.