usb: dwc3: gadget: Properly handle failed kick_transfer
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. Change-Id: I64ff69a663a9ad7701f877a0cf3bcd87b93c792a Fixes: 72246da4 ("usb: Introduce DesignWare USB3 DRD Driver") Signed-off-by:Thinh Nguyen <thinhn@synopsys.com> Signed-off-by:
Felipe Balbi <balbi@kernel.org> Git-commit: 8d99087c2db863c5fa3a4a1f3cb82b3a493705ca Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Mayank Rana <mrana@codeaurora.org> [prathampratap@codeaurora.org: resolve trivial merge conflicts] Signed-off-by:
Pratham Pratap <prathampratap@codeaurora.org>
Loading
Please register or sign in to comment