summaryrefslogtreecommitdiffstats
path: root/Documentation/SubmittingPatches
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2011-06-16 22:06:04 +0200
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-06-17 20:28:21 +0200
commita9e758634f464ffb09344821a9f0b5a5c6df2b3e (patch)
tree5fe6502609769a90e77a7b9b91e2e2e691235572 /Documentation/SubmittingPatches
parentxhci: Always set urb->status to zero for isoc endpoints. (diff)
downloadlinux-a9e758634f464ffb09344821a9f0b5a5c6df2b3e.tar.xz
linux-a9e758634f464ffb09344821a9f0b5a5c6df2b3e.zip
USB: Fix up URB error codes to reflect implementation.
Documentation/usb/error-codes.txt mentions that urb->status can be set to -EXDEV, if the isochronous transfer was not fully completed. However, in practice, EHCI, UHCI, and OHCI all only set -EXDEV in the individual frame status, never in the URB status. Those host controller actually always pass in a zero status to usb_hcd_giveback_urb, and rely on the core to set the appropriate status value. The xHCI driver ran into issues with the uvcvideo driver when it tried to set -EXDEV in urb->status, because the driver refused to submit URBs, and the userspace camera application's video froze. Clean up the documentation to reflect the actual implementation. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Acked-by: Alan Stern <stern@rowland.harvard.edu>
Diffstat (limited to 'Documentation/SubmittingPatches')
0 files changed, 0 insertions, 0 deletions