]> git.baikalelectronics.ru Git - kernel.git/commit
xhci 1.0: Only interrupt on short packet for IN EPs.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 23 Mar 2011 23:26:26 +0000 (16:26 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 2 May 2011 23:42:55 +0000 (16:42 -0700)
commit289b633ed3c073d252ff3fbf8987e1fc0456daeb
tree7f904472baafbf578099d0e653ebae1a06d902ee
parent0d0877e7a974610ccdf91daf45dc7e74860e5861
xhci 1.0: Only interrupt on short packet for IN EPs.

It doesn't make sense to set the interrupt on short packet (TRB_ISP) flag
for TRBs queued to endpoints that only receive packets from the host
controller (i.e. OUT endpoints).  Packets can only be short when they are
sent from a USB device.  Plus, the xHCI 1.0 specification forbids setting
the flag for anything but IN endpoints.

While we're at it, remove some of my snide remarks about the inefficiency
of event data TRBs.

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