usb_resume_device — re-activate a suspended usb device
int usb_resume_device ( | struct usb_device * | udev) ; |
This will re-activate the suspended device, increasing power usage while letting drivers communicate again with its endpoints. USB resume explicitly guarantees that the power session between the host and the device is the same as it was when the device suspended.
Returns 0 on success, else negative errno.