USB: report submission of active URBs
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 7 Nov 2012 21:35:00 +0000 (16:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Nov 2012 02:10:46 +0000 (18:10 -0800)
commit2f02bc8af3abb846823811af65ec6cc46a4d525d
treed2d5930a67122733e3af7aee09560eebd2a912b3
parent2656a9abcf1ec8dd5fee6a75d6997a0f2fa0094e
USB: report submission of active URBs

This patch (as1633) changes slightly the way usbcore handled
submissions of URBs that are already active.  It will now return
-EBUSY rather than -EINVAL, and it will call WARN_ONCE to draw
people's attention to the bug.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/usb/error-codes.txt
drivers/usb/core/urb.c