提交 0f588df8 编写于 作者: G Gerd Hoffmann

ehci: kick async schedule on wakeup

Kick async schedule when we get a wakeup
notification from a usb device.
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 ae710b99
...@@ -852,6 +852,8 @@ static void ehci_wakeup(USBPort *port) ...@@ -852,6 +852,8 @@ static void ehci_wakeup(USBPort *port)
USBPort *companion = s->companion_ports[port->index]; USBPort *companion = s->companion_ports[port->index];
if (companion->ops->wakeup) { if (companion->ops->wakeup) {
companion->ops->wakeup(companion); companion->ops->wakeup(companion);
} else {
qemu_bh_schedule(s->async_bh);
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册