From: Sarah Sharp Date: Fri, 28 Aug 2009 21:28:18 +0000 (-0700) Subject: USB: xhci: Set -EREMOTEIO when xHC gives bad transfer length. X-Git-Tag: v2.6.32-rc1~174^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f697f6cbff155b3ce4053a50cdf00b5be4dda11;p=pandora-kernel.git 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 Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed