xhci: Fix isoc TD encoding.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 11 Jan 2013 19:19:07 +0000 (11:19 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Feb 2013 16:16:49 +0000 (08:16 -0800)
commit85b9c6b4d04c753deb257c849cd0b1f9ce0d5c4e
tree1f25306f42bc4dfe459bd0ffe96baf5e2efaa9e0
parentdac94241120407ebcd4bbc4523f2ec4edece0f92
xhci: Fix isoc TD encoding.

commit 760973d2a74b93eb1697981f7448f0e62767cfc4 upstream.

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 b61d378f2da41c748aba6ca19d77e1e1c02bcea5 " xhci 1.0: Set
transfer burst last packet count field."

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c