diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2012-11-07 16:35:00 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-11 21:10:46 -0500 |
commit | 2f02bc8af3abb846823811af65ec6cc46a4d525d (patch) | |
tree | d2d5930a67122733e3af7aee09560eebd2a912b3 /Documentation/usb | |
parent | 2656a9abcf1ec8dd5fee6a75d6997a0f2fa0094e (diff) |
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>
Diffstat (limited to 'Documentation/usb')
-rw-r--r-- | Documentation/usb/error-codes.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/usb/error-codes.txt b/Documentation/usb/error-codes.txt index 8d1e2a9ebbba..9c3eb845ebe5 100644 --- a/Documentation/usb/error-codes.txt +++ b/Documentation/usb/error-codes.txt | |||
@@ -21,6 +21,8 @@ Non-USB-specific: | |||
21 | 21 | ||
22 | USB-specific: | 22 | USB-specific: |
23 | 23 | ||
24 | -EBUSY The URB is already active. | ||
25 | |||
24 | -ENODEV specified USB-device or bus doesn't exist | 26 | -ENODEV specified USB-device or bus doesn't exist |
25 | 27 | ||
26 | -ENOENT specified interface or endpoint does not exist or | 28 | -ENOENT specified interface or endpoint does not exist or |