diff options
| author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-03-06 00:24:08 +0300 |
|---|---|---|
| committer | Felipe Balbi <balbi@kernel.org> | 2020-05-05 10:58:52 +0300 |
| commit | a7027ca69d82ae10d9e5899b74e809e32d04d48b (patch) | |
| tree | 3d6415cfc1fa4386765940e30161ff97d7eda906 /tools/perf/scripts/python/sched-migration.py | |
| parent | cb11ea56f37a36288cdd0a4799a983ee3aa437dd (diff) | |
| download | linux-a7027ca69d82ae10d9e5899b74e809e32d04d48b.tar.xz | |
usb: dwc3: gadget: Give back staled requests
If a request is dequeued, the transfer is cancelled. Give back all
the started requests.
In most scenarios, the function driver dequeues all requests of a
transfer when there's a failure. If the function driver follows this,
then it's fine. If not, then we'd be skipping TRBs at different points
within the dequeue and enqueue pointers, making dequeue/enqueue pointers
useless. To enforce and make sure that we're properly skipping TRBs,
cancel all the started requests and give back all the cancelled requests
to the function drivers.
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
