usb_unlock_device - release the lock for a usb device structure
void usb_unlock_device (struct usb_device * udev);
udev device that’s being unlocked
Use this routine when releasing the only device lock you hold; to release inner nested locks call up(&udev->serialize) directly. This is necessary for proper interaction with usb_lock_all_devices.