]> git.baikalelectronics.ru Git - kernel.git/commit
USB: xhci: Set TD size in transfer TRB.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 27 Jul 2009 19:03:07 +0000 (12:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jul 2009 21:31:11 +0000 (14:31 -0700)
commit6e2b9d42d742695de0ed82355a665c3d8d9c0214
treecf8dedd19944550c7d1c3d0e3d5f46446190810e
parent73935cfa63f188000545cb8ff965c9ba26af34c0
USB: xhci: Set TD size in transfer TRB.

The 0.95 xHCI specification requires software to set the "TD size" field
in each transaction request block (TRB).  This field gives the host
controller an indication of how much data is remaining in the TD
(including the buffer in the current TRB).  Set this field in bulk TRBs
and data stage TRBs for control transfers.

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