diff options
author | Guido Kiener <[email protected]> | 2019-03-18 09:18:33 +0100 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2019-03-20 08:50:19 +0200 |
commit | f1d3fba17cd4eeea20397f1324b7b9c69a6a935c (patch) | |
tree | 79db187a83c2629f29a02780fc7c3660fe8ca5f0 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 9d6a54c1430647355a5e23434881b2ca3d192b48 (diff) |
usb: gadget: net2280: Fix net2280_dequeue()
When a request must be dequeued with net2280_dequeue() e.g. due
to a device clear action and the same request is finished by the
function scan_dma_completions() then the function net2280_dequeue()
does not find the request in the following search loop and
returns the error -EINVAL without restoring the status ep->stopped.
Thus the endpoint keeps blocked and does not receive any data
anymore.
This fix restores the status and does not issue an error message.
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Guido Kiener <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions