usb: hid: remote wakeup support.
Add usb_wakeup() call to the hid driver so remote wakeup actually works. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
34239c7bc9
commit
ac57bbb614
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue