projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34239c7
)
usb: hid: remote wakeup support.
author
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 1 Dec 2010 10:50:04 +0000
(11:50 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 11 Jan 2011 16:01:03 +0000
(17:01 +0100)
Add usb_wakeup() call to the hid driver so remote wakeup actually works.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-hid.c
patch
|
blob
|
history
diff --git
a/hw/usb-hid.c
b/hw/usb-hid.c
index 1c3596025f39c90bc02f9c4c9cce646f7c19b976..60fa57fd9c4ab2664a126610b689b3d7cb5fd1c4 100644
(file)
--- 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,