Name

usb_unlock_device — release the lock for a usb device structure

Synopsis

void usb_unlock_device (struct usb_device * udev);

Arguments

udev

device that's being unlocked

Description

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.