diff options
| author | Thinh Nguyen <[email protected]> | 2020-09-24 01:21:24 -0700 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-10-02 09:57:44 +0300 |
| commit | 690e5c2dc29f8891fcfd30da67e0d5837c2c9df5 (patch) | |
| tree | b16618c7d6ad51e9b3227e2502df854e58d662d8 /tools/perf/scripts/python | |
| parent | ca3df3468eec87f6374662f7de425bc44c3810c1 (diff) | |
usb: dwc3: gadget: Reclaim extra TRBs after request completion
An SG request may be partially completed (due to no available TRBs).
Don't reclaim extra TRBs and clear the needs_extra_trb flag until the
request is fully completed. Otherwise, the driver will reclaim the wrong
TRB.
Cc: [email protected]
Fixes: 1f512119a08c ("usb: dwc3: gadget: add remaining sg entries to ring")
Signed-off-by: Thinh Nguyen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions