Mathias Nyman f1f6d9a8b5 xhci: don't dereference a xhci member after removing xhci
Remove the hcd after checking for the xhci last quirks, not before.

This caused a hang on a Alpine Ridge xhci based maching which remove
the whole xhci controller when unplugging the last usb device

CC: <stable@vger.kernel.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-16 09:42:47 +02:00
..
2015-04-03 19:03:18 +02:00
2015-04-03 19:03:18 +02:00
2015-04-03 19:03:17 +02:00
2015-06-08 14:26:22 -07:00
2016-08-16 09:42:47 +02:00
2016-06-26 11:43:39 -07:00