]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf636e1099c2b4ab54c298913eec394fb1bee0783
tree110f04e1fde719c01063079be05d842e0b7604e9
parent4c34be11409476aa15b102ab43167bb6703afec7
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