diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2009-08-28 14:28:18 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 06:46:18 -0700 |
commit | 2f697f6cbff155b3ce4053a50cdf00b5be4dda11 (patch) | |
tree | 30072ed5d37493d913da510bf87d93647fd736a8 /Documentation/block | |
parent | 204970a4bb2f584afc430ae330cd44aee329cea4 (diff) |
USB: xhci: Set -EREMOTEIO when xHC gives bad transfer length.
The xHCI hardware reports the number of bytes untransferred for a given
transfer buffer. If the hardware reports a bytes untransferred value
greater than the submitted buffer size, we want to play it safe and say no
data was transferred. If the driver considers a short packet to be an
error, remember to set -EREMOTEIO.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions