USB: xHCI: Missed Service Error Event process
commitd18240db797ed749b511b8dc910c5dcf08be46d6
authorAndiry Xu <andiry.xu@amd.com>
Thu, 22 Jul 2010 22:23:25 +0000 (22 15:23 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:41 +0000 (10 14:35 -0700)
treefe358df8e823593a144597252e72c32b6434abd2
parent986a92d44810cad915279fdc942e2fd2c2857499
USB: xHCI: Missed Service Error Event process

This patch adds mechanism to process Missed Service Error Event.
Sometimes the xHC is unable to process the isoc TDs in time, it will
generate Missed Service Error Event. In this case some TDs on the ring are
not processed and missed. When encounter a Missed Servce Error Event, set
the skip flag of the ep, and process the missed TDs until reach the next
processed TD, then clear the skip flag.

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