]> git.baikalelectronics.ru Git - kernel.git/commit
xhci: Fix isoc TD encoding.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 11 Jan 2013 19:19:07 +0000 (11:19 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 24 Jan 2013 17:53:36 +0000 (09:53 -0800)
commit96546ac9362e33b409664d415a7dc511418b7c21
tree4adec8398c6cf7fdb97c518b79f170f519339160
parent0b008a8de3290f4c2b8a0ca5ac9e1dccabd29bae
xhci: Fix isoc TD encoding.

An isochronous TD is comprised of one isochronous TRB chained to zero or
more normal TRBs.  Only the isoc TRB has the TBC and TLBPC fields.  The
normal TRBs must set those fields to zeroes.  The code was setting the
TBC and TLBPC fields for both isoc and normal TRBs.  Fix this.

This should be backported to stable kernels as old as 3.0, that contain
the commit 4dbf97f1433eb9fc293adf0eb5f861de8ab84961 " xhci 1.0: Set
transfer burst last packet count field."

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org
drivers/usb/host/xhci-ring.c