diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2019-12-18 18:14:56 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-15 10:39:23 +0100 |
commit | cf2f8b63f7f1f6763e4fcdf89145312224ee736b (patch) | |
tree | 82504e93b38f3793c294ae4168800bbd42d85d7e /drivers/usb/cdns3/cdns3-imx.c | |
parent | da10bcdd6f70dc9977f2cf18f4783cf78520623a (diff) |
usb: dwc3: gadget: Remove END_TRANSFER delay
We had a 100us delay to synchronize the END_TRANSFER command completion
before giving back requests to the function drivers. Now, the controller
driver can handle cancelled TRBs with the requests' cancelled_list and
it can also wait until the END_TRANSFER completion before starting new
transfers. Synchronization can simply base on the controller's command
completion interrupt. The 100us delay is no longer needed. Remove this
arbitrary delay.
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions