diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-03-29 16:12:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-24 17:50:23 +0200 |
commit | b14b7359535d84ed88d97c18df76589d01146882 (patch) | |
tree | b0daa9e9356ad73be6883f7076f72fffbb56f967 /drivers/staging | |
parent | 1bfa0914728229f332478a0ba9f60a92f0dca046 (diff) |
usb: dwc3: gadget: Properly handle failed kick_transfer
[ Upstream commit 8d99087c2db863c5fa3a4a1f3cb82b3a493705ca ]
If dwc3 fails to issue START_TRANSFER/UPDATE_TRANSFER command, then we
should properly end an active transfer and give back all the started
requests. However if it's for an isoc endpoint, the failure maybe due to
bus-expiry status. In this case, don't give back the requests and wait
for the next retry.
Fixes: 72246da40f37 ("usb: Introduce DesignWare USB3 DRD Driver")
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions