Commit a89192f6 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

[PATCH] USB: correct error handling in usb_driver_claim_interface() - comment

  - update commentary
parent 9496c745
......@@ -268,6 +268,7 @@ int usb_driver_claim_interface(struct usb_driver *driver, struct usb_interface *
if (!iface || !driver)
return -EINVAL;
/* this is mainly to lock against usbfs */
lock_kernel();
if (iface->driver) {
unlock_kernel();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment