[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 29/37] ehci: kick async schedule on wakeup
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 29/37] ehci: kick async schedule on wakeup |
Date: |
Thu, 7 Jun 2012 11:31:18 +0200 |
Kick async schedule when we get a wakeup
notification from a usb device.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/usb/hcd-ehci.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index 8b2dfed..f8ed80d 100644
--- a/hw/usb/hcd-ehci.c
+++ b/hw/usb/hcd-ehci.c
@@ -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);
}
}
}
--
1.7.1
- [Qemu-devel] [PULL 00/37] usb patch queue, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 02/37] uhci: use bottom half, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 23/37] ehci: move ehci_flush_qh, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 14/37] xhci: trace: run+stop, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 28/37] ehci: schedule async bh on async packet completion, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 25/37] ehci: tweak queue initialization, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 08/37] usb-storage: remove MSDState->residue, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 03/37] uhci: make bandwidth tunable, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 17/37] xhci: trace: endpoints, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 29/37] ehci: kick async schedule on wakeup,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 05/37] uhci: zap uhci_pre_save, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 30/37] ehci: fix reset, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 04/37] uhci: fix trace format strings, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 09/37] usb-storage: add usb_msd_packet_complete(), Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 32/37] ehci: update status bits in ehci_set_state, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 27/37] ehci: move async schedule to bottom half, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 01/37] uhci: fix bandwidth management, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 22/37] ehci: cache USBDevice in EHCIQueue, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 10/37] usb-storage: add scsi_off, remove scsi_buf, Gerd Hoffmann, 2012/06/07
- [Qemu-devel] [PATCH 06/37] uhci: fix irq routing, Gerd Hoffmann, 2012/06/07