• Sarah Sharp's avatar
    xhci: Fix isoc TD encoding. · bc58aca9
    Sarah Sharp authored
    commit 760973d2 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 b61d378f " xhci 1.0: Set
    transfer burst last packet count field."
    Signed-off-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
    Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
    bc58aca9
xhci-ring.c 121 KB