提交 88811f7b 编写于 作者: F Felipe Balbi

usb: dwc3: gadget: remove udelay() from generic cmd

We want commands to finish ASAP, so let's remove
that udelay() call.
Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
上级 0fe886cd
...@@ -225,8 +225,6 @@ int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) ...@@ -225,8 +225,6 @@ int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param)
ret = -EINVAL; ret = -EINVAL;
break; break;
} }
udelay(1);
} while (timeout--); } while (timeout--);
if (!timeout) { if (!timeout) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册