]> Git Repo - qemu.git/commitdiff
usb: hid: remote wakeup support.
authorGerd Hoffmann <[email protected]>
Wed, 1 Dec 2010 10:50:04 +0000 (11:50 +0100)
committerGerd Hoffmann <[email protected]>
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 <[email protected]>
hw/usb-hid.c

index 1c3596025f39c90bc02f9c4c9cce646f7c19b976..60fa57fd9c4ab2664a126610b689b3d7cb5fd1c4 100644 (file)
@@ -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,
This page took 0.026665 seconds and 4 git commands to generate.