diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2022-01-25 14:33:20 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-03-04 09:34:21 +0100 |
| commit | 3a4d06f26f2606dd5029b05b4aff97f198455249 (patch) | |
| tree | 8b99780239b47308e2a9dbb3f282286d66c72822 /python/tests/protocol.py | |
| parent | b6b0c066f5750c3c977b647509f225ba06038b60 (diff) | |
| download | focaccia-qemu-3a4d06f26f2606dd5029b05b4aff97f198455249.tar.gz focaccia-qemu-3a4d06f26f2606dd5029b05b4aff97f198455249.zip | |
usb/ohci: Don't use packet from OHCIState for isochronous transfers
Since isochronous transfers cannot be handled async (the function returns error in that case) we don't need to remember the packet. Avoid using the usb_packet field in OHCIState (as that can be a waiting async packet on another endpoint) and allocate and use a local USBPacket for the iso transfer instead. After this we don't have to care if we're called from a completion callback or not so we can drop that parameter as well. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-Id: <bf523d40f8088a84383cb00ffd2e6e82fa47790d.1643117600.git.balaton@eik.bme.hu> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'python/tests/protocol.py')
0 files changed, 0 insertions, 0 deletions