From 4444fdba108029b8874bdfa49e9b4db59cc78299 Mon Sep 17 00:00:00 2001 From: Sarah Sharp Date: Thu, 16 Jun 2011 13:06:04 -0700 Subject: [PATCH] --- yaml --- r: 254159 b: refs/heads/master c: a9e758634f464ffb09344821a9f0b5a5c6df2b3e h: refs/heads/master i: 254157: 079639d99f3dc1f87cdb4219407d764d52135fc6 254155: df935336aeb675e60d4ee1ffe8805c6d95732bdf 254151: 9e3a1c430cbb4a4fdea7ba913f97e0923f807049 254143: 99cdd0954db9c6c298e71130d9168e3157f67362 v: v3 --- [refs] | 2 +- trunk/Documentation/usb/error-codes.txt | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index e91b82a6825d..b22578009750 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b3df3f9c7df9a8d85e03e158d35487618a160901 +refs/heads/master: a9e758634f464ffb09344821a9f0b5a5c6df2b3e diff --git a/trunk/Documentation/usb/error-codes.txt b/trunk/Documentation/usb/error-codes.txt index d83703ea74b2..b3f606b81a03 100644 --- a/trunk/Documentation/usb/error-codes.txt +++ b/trunk/Documentation/usb/error-codes.txt @@ -76,6 +76,13 @@ A transfer's actual_length may be positive even when an error has been reported. That's because transfers often involve several packets, so that one or more packets could finish before an error stops further endpoint I/O. +For isochronous URBs, the urb status value is non-zero only if the URB is +unlinked, the device is removed, the host controller is disabled, or the total +transferred length is less than the requested length and the URB_SHORT_NOT_OK +flag is set. Completion handlers for isochronous URBs should only see +urb->status set to zero, -ENOENT, -ECONNRESET, -ESHUTDOWN, or -EREMOTEIO. +Individual frame descriptor status fields may report more status codes. + 0 Transfer completed successfully @@ -132,7 +139,7 @@ one or more packets could finish before an error stops further endpoint I/O. device removal events immediately. -EXDEV ISO transfer only partially completed - look at individual frame status for details + (only set in iso_frame_desc[n].status, not urb->status) -EINVAL ISO madness, if this happens: Log off and go home