OSDN Git Service

usb: xhci: stop everything on the first call to xhci_stop
authorRoger Quadros <rogerq@ti.com>
Mon, 21 Sep 2015 14:46:14 +0000 (17:46 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Sep 2015 05:50:44 +0000 (22:50 -0700)
commit8c24d6d7b09deee3036ddc4f2b81b53b28c8f877
tree110f04e1fde719c01063079be05d842e0b7604e9
parente5bfeab0ad515b4f6df39fe716603e9dc6d3dfd0
usb: xhci: stop everything on the first call to xhci_stop

xhci_stop will be called twice, once for the shared hcd
and again for the primary hcd.

We stop the XHCI controller in any case so clean up
everything on the first call else we can timeout
waiting for pending requests to complete.

Cc: <stable@vger.kernel.org>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c