The Linux-USB Host Side API | ||
---|---|---|
<<< Previous | Next >>> |
Don't use this routine if you already hold a device lock; use down_trylock(&udev->serialize) instead. This is necessary for proper interaction with usb_lock_all_devices.
Returns 1 if successful, 0 if contention.
<<< Previous | Home | Next >>> |
usb_lock_device | Up | usb_lock_device_for_reset |