linux/Documentation/usb
Alan Stern f661c6f8c6 USB: check the endpoint type against the pipe type
This patch (as1316) adds some error checking to usb_submit_urb().
It's conditional on CONFIG_USB_DEBUG, so it won't affect normal users.
The new check makes sure that the actual type of the endpoint
described by urb->pipe agrees with the type encoded in the pipe value.

The USB error code documentation is updated to include the code
returned by the new check, and the usbfs SUBMITURB handler is updated
to use the correct pipe type when legacy user code tries to submit a
bulk transfer to an interrupt endpoint.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-02 14:53:07 -08:00
..
acm.txt USB: small update to Documentation/usb/acm.txt 2007-01-05 12:19:09 -08:00
anchors.txt trivial: Miscellaneous documentation typo fixes 2009-06-12 18:01:47 +02:00
authorization.txt USB: Fix sysfs paths in documentation 2009-09-23 06:46:41 -07:00
callbacks.txt trivial: usb: fix missing space typo in doc 2009-06-12 18:01:51 +02:00
CREDITS documentation: convert the Documentation directory to UTF-8 2007-05-09 08:58:19 +02:00
dma.txt Documentation: move DMA-mapping.txt to Doc/PCI/ 2009-01-29 18:19:29 -08:00
ehci.txt
error-codes.txt USB: check the endpoint type against the pipe type 2010-03-02 14:53:07 -08:00
gadget_printer.txt USB: add Printer Gadget Driver 2008-02-01 14:34:49 -08:00
gadget_serial.txt USB: Documentation/usb/gadget_serial.txt: update to match driver use_acm behaviour 2008-12-17 10:49:13 -08:00
hiddev.txt Fix typos in /Documentation : Misc 2006-11-30 05:21:10 +01:00
hotplug.txt
iuu_phoenix.txt USB: add iuu_phoenix driver 2008-02-01 14:34:47 -08:00
linux.inf
misc_usbsevseg.txt USB: Added driver for a Delcom USB 7-segment LED Display 2008-10-17 14:40:51 -07:00
mtouchusb.txt Fix typos in Documentation/: 'S' 2006-10-03 22:55:17 +02:00
ohci.txt
persist.txt USB: use reset_resume when normal resume fails 2008-07-21 15:16:48 -07:00
power-management.txt USB: power management documentation update 2009-12-23 11:34:09 -08:00
proc_usb_info.txt USB: fix comment about endianness of descriptors 2008-12-17 10:49:14 -08:00
rio.txt Fix typos in /Documentation : 'T'' 2006-11-30 04:55:36 +01:00
URB.txt Fix typos in Documentation/: 'S' 2006-10-03 22:55:17 +02:00
usb-help.txt USB:Update mailing list information in documentation 2008-03-10 16:42:27 -07:00
usb-serial.txt USB: serial: Remove obsolete contact addresses 2008-04-24 21:16:45 -07:00
usbmon.txt USB: fix paths in usbmon documentation 2009-09-23 06:46:37 -07:00
wusb-cbaf uwb: add basic radio manager 2008-11-19 14:46:33 +00:00
WUSB-Design-overview.txt trivial: Miscellaneous documentation typo fixes 2009-06-12 18:01:47 +02:00