.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "USB_UNLOCK_DEVICE" "9" "09 October 2005" "" ""
.SH NAME
usb_unlock_device \- release the lock for a usb device structure
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void usb_unlock_device (struct usb_device * \fIudev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIudev\fB\fR
device that's being unlocked
.SH "DESCRIPTION"
.PP
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 \fBusb_lock_all_devices\fR\&.