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)
commitaf8b9e636065ba1701c4215a8dc4f7a1d69d934b
tree7f904472baafbf578099d0e653ebae1a06d902ee
parent00161f7d04eb1668fde5e22d3e5a17bf90356d2c
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