diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-11-13 17:16:28 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-11-13 18:37:33 +0000 |
commit | f8810be6decfabce76d2fc64940dc4ef442c0f9f (patch) | |
tree | 51ac450bdd3400d62cdf0408055b520627abd7f1 /apps/plugins | |
parent | a4e422db9ec27dffa8099b21822c90e0637ed834 (diff) | |
download | rockbox-f8810be6decfabce76d2fc64940dc4ef442c0f9f.tar.gz rockbox-f8810be6decfabce76d2fc64940dc4ef442c0f9f.zip |
usb_core: More legacy control API fixes
In the old API, usb_core_transfer_complete() would ignore
any completions on EP0. The legacy control API will also
ignore most completions on EP0, but it only did so after
filling in the completion event.
If the driver submits a spurious completion on EP0, then
this could clobber a previously queued completion event.
Fix this by deciding whether to ignore the completion
*before* modifying the event data.
Change-Id: I68526898a96efa594ada4e94bb6851aaaf12e92a
Diffstat (limited to 'apps/plugins')
0 files changed, 0 insertions, 0 deletions