Commit 0f588df8 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

ehci: kick async schedule on wakeup



Kick async schedule when we get a wakeup
notification from a usb device.

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent ae710b99
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -852,6 +852,8 @@ static void ehci_wakeup(USBPort *port)
        USBPort *companion = s->companion_ports[port->index];
        if (companion->ops->wakeup) {
            companion->ops->wakeup(companion);
        } else {
            qemu_bh_schedule(s->async_bh);
        }
    }
}