diff options
author | Andiry Xu <andiry.xu@amd.com> | 2012-01-18 13:47:12 +0400 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2012-01-26 00:55:19 +0400 |
commit | cf840551a884360841bd3d3ce1ad0868ff0b759a (patch) | |
tree | 9b7dfd0feb36b73060d81d38df7b7db88aefd3e9 /drivers/usb/storage | |
parent | 7c24814f7eb9a194b11507b43ca0b947415754c2 (diff) | |
download | linux-cf840551a884360841bd3d3ce1ad0868ff0b759a.tar.xz |
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 <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/usb/storage')
0 files changed, 0 insertions, 0 deletions