]> git.baikalelectronics.ru Git - kernel.git/commit
Intel xhci: Ignore spurious successful event.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 25 May 2011 17:43:56 +0000 (10:43 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 27 May 2011 19:08:13 +0000 (12:08 -0700)
commit1c6710b8488dc9cd65c8b9dd7e913a044538d611
tree40f3a11f028175f61cce14088a0f93ebd68c4b60
parent298e3a6735391ac220c926702b1f9aa817cf2b0f
Intel xhci: Ignore spurious successful event.

The xHCI host controller in the Panther Point chipset sometimes produces
spurious events on the event ring.  If it receives a short packet, it
first puts a Transfer Event with a short transfer completion code on the
event ring.  Then it puts a Transfer Event with a successful completion
code on the ring for the same TD.  The xHCI driver correctly processes the
short transfer completion code, gives the URB back to the driver, and then
prints a warning in dmesg about the spurious event.  These warning
messages really fill up dmesg when an HD webcam is plugged into xHCI.

This spurious successful event behavior isn't technically disallowed by
the xHCI specification, so make the xHCI driver just ignore the spurious
completion event.

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