Commit ac57bbb6 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

usb: hid: remote wakeup support.



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

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 34239c7b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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,