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:33:14 +0000 (09:33 +0200)
commit7cea0a2e8c5935f81a333b86d2961e9232ece7a1
tree41a07101edc16fed93aef5ced391174ec9c051eb
parent67c8b9c6c59c3b734b0cf6479ee592539fa1ab64
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