[PATCH] USB: correct error handling in usb_driver_claim_interface()
this function races with itself, doesn't return errors and races with releasing interfaces. This patch fixes it by changing the function prototype, introducing locking and having a correct order in releasing interfaces. - API change to check errors in usb_driver_claim_interface and fix a race condition between releasing and reclaiming an interface
Showing
Please register or sign in to comment