]> 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)
commit9d9ed47bde8b361f51cac8c67218500cd8451f2d
tree110f04e1fde719c01063079be05d842e0b7604e9
parent2292c7596e8b42713423af673a66006a3bacc82b
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