usb: xhci-mtk: resume USB3 roothub first
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Mon, 1 Oct 2018 15:36:08 +0000 (18:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Oct 2018 07:18:55 +0000 (09:18 +0200)
commit343ec21925bcc0ca339b998f3c2613e202a8fc6e
tree1c7fe9b890fe926cf4537f38ebfe29011543dfd7
parent90a7afb91bf00d2979527d181b2ed90336d4a133
usb: xhci-mtk: resume USB3 roothub first

commit 555df5820e733cded7eb8d0bf78b2a791be51d75 upstream.

Give USB3 devices a better chance to enumerate at USB3 speeds if
they are connected to a suspended host.
Porting from "671ffdff5b13 xhci: resume USB 3 roothub first"

Cc: <stable@vger.kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c