xhci: resume USB 3 roothub first
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 8 Apr 2016 13:25:06 +0000 (16:25 +0300)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 20 Apr 2016 05:08:57 +0000 (01:08 -0400)
commit52b5bfb04674964c48e5ecaf07d536d7a929e779
treea6d43e23001bc068f3495fed8d7b8948caa40cac
parentd49e9fc7997642421c13ef90760973320bd684b3
xhci: resume USB 3 roothub first

[ Upstream commit 671ffdff5b13314b1fc65d62cf7604b873fb5dc4 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/usb/host/xhci.c