[PATCH] synchronous control/bulk messaging
This one-liner fixes a problem in synchronous messaging with usb_bulk_msg(), usb_control_msg(), and everything that calls usb_control_msg(): you're not allowed to call blocking functions when you're already on a wait queue. A better fix would be to just stick the thread on the wait queue _after_ submitting the URB, but that should involve more testing than I have time for just now.
Showing
Please register or sign in to comment