xhci: resume USB 3 roothub first
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 8 Apr 2016 13:25:06 +0000 (16:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2016 18:55:56 +0000 (11:55 -0700)
commit671ffdff5b13314b1fc65d62cf7604b873fb5dc4
tree47e8cd94ba52bf8d3b3e3de3a4a8f84fd285ebcd
parent0d46faca6f887a849efb07c1655b5a9f7c288b45
xhci: resume USB 3 roothub first

Give USB3 devices a better chance to enumerate at USB 3 speeds if
they are connected to a suspended host.
Solves an issue with NEC uPD720200 host hanging when partially
enumerating a USB3 device as USB2 after host controller runtime resume.

Cc: <stable@vger.kernel.org>
Tested-by: Mike Murdoch <main.haarp@gmail.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