qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 20/32] usb: hid: remote wakeup support.


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH v4 20/32] usb: hid: remote wakeup support.
Date: Wed, 12 Jan 2011 12:20:02 +0100

Add usb_wakeup() call to the hid driver so remote wakeup actually works.

Signed-off-by: Gerd Hoffmann <address@hidden>
---
 hw/usb-hid.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index 1c35960..60fa57f 100644
--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -429,6 +429,8 @@ static void usb_hid_changed(USBHIDState *hs)
 
     if (hs->datain)
         hs->datain(hs->datain_opaque);
+
+    usb_wakeup(&hs->dev);
 }
 
 static void usb_mouse_event(void *opaque,
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]