mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-26 11:32:23 -06:00
usb-host: add wakeup call for iso xfers
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
26c7be8426
commit
e206ddfb57
1 changed files with 1 additions and 0 deletions
|
@ -451,6 +451,7 @@ static void usb_host_req_complete_iso(struct libusb_transfer *transfer)
|
||||||
}
|
}
|
||||||
if (xfer->ring->ep->pid == USB_TOKEN_IN) {
|
if (xfer->ring->ep->pid == USB_TOKEN_IN) {
|
||||||
QTAILQ_INSERT_TAIL(&xfer->ring->copy, xfer, next);
|
QTAILQ_INSERT_TAIL(&xfer->ring->copy, xfer, next);
|
||||||
|
usb_wakeup(xfer->ring->ep, 0);
|
||||||
} else {
|
} else {
|
||||||
QTAILQ_INSERT_TAIL(&xfer->ring->unused, xfer, next);
|
QTAILQ_INSERT_TAIL(&xfer->ring->unused, xfer, next);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue