commit | f1f6d9a8b540df22b87a5bf6bc104edaade81f47 | [log] [tgz] |
---|---|---|
author | Mathias Nyman <mathias.nyman@linux.intel.com> | Tue Aug 16 10:18:06 2016 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Aug 16 09:42:47 2016 +0200 |
tree | 5b0bb03840f9f27eadfb3a5dea7e187aa2e4fdcb | |
parent | 88716a93766b8f095cdef37a8e8f2c93aa233b21 [diff] |
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>