diff options
Diffstat (limited to 'hw/usb.c')
-rw-r--r-- | hw/usb.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -49,6 +49,13 @@ void usb_attach(USBPort *port, USBDevice *dev) } } +void usb_wakeup(USBDevice *dev) +{ + if (dev->remote_wakeup && dev->port && dev->port->ops->wakeup) { + dev->port->ops->wakeup(dev); + } +} + /**********************/ /* generic USB device helpers (you are not forced to use them when |