From ac57bbb614ace4f7b8b965562826a7f7fda00cdc Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 1 Dec 2010 11:50:04 +0100 Subject: [PATCH] usb: hid: remote wakeup support. Add usb_wakeup() call to the hid driver so remote wakeup actually works. Signed-off-by: Gerd Hoffmann --- hw/usb-hid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/usb-hid.c b/hw/usb-hid.c index 1c3596025f..60fa57fd9c 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,