xhci: Refactor command watchdog and fix split string.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 21 Feb 2014 17:27:30 +0000 (09:27 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 4 Mar 2014 23:38:27 +0000 (15:38 -0800)
commit50e8725e7c429701e530439013f9681e1fa36b5d
treefe0db0968e518e6716e9a70332768467211b77eb
parent7cace978fba5d0ec6eed50509cda40eea85f8e98
xhci: Refactor command watchdog and fix split string.

In preparation for fixing this function for streams endpoints, refactor
code in the command watchdog timeout function into two new functions.
One kills all URBs on a ring (either stream or endpoint), the other
kills all URBs associated with an endpoint.  Fix a split string while
we're at it.

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