From: Andiry Xu Date: Wed, 18 Jan 2012 09:47:12 +0000 (+0800) Subject: xHCI: Cleanup isoc transfer ring when TD length mismatch found X-Git-Tag: v3.3-rc2~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf840551a884360841bd3d3ce1ad0868ff0b759a;p=pandora-kernel.git xHCI: Cleanup isoc transfer ring when TD length mismatch found When a TD length mismatch is found during isoc TRB enqueue, it directly returns -EINVAL. However, isoc transfer is partially enqueued at this time, and the ring should be cleared. This should be backported to kernels as old as 2.6.36, which contain the commit 522989a27c7badb608155b1f1dea3487ed431f74 "xhci: Fix failed enqueue in the middle of isoch TD." Signed-off-by: Andiry Xu Signed-off-by: Sarah Sharp Cc: stable@vger.kernel.org --- Reading git-diff-tree failed