summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ffe84e0)
raw | patch | inline | side by side (parent: ffe84e0)
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | |
Mon, 1 Oct 2018 15:36:08 +0000 (18:36 +0300) | ||
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
Tue, 2 Oct 2018 00:59:02 +0000 (17:59 -0700) |
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>
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 | patch | blob | history |
index 7334da9e97794c11038f7d76a5d223e404ec7dfc..71d0d33c3286254b0327646720161df6ba5cc1e9 100644 (file)
xhci_mtk_host_enable(mtk);
xhci_dbg(xhci, "%s: restart port polling\n", __func__);
- set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
- usb_hcd_poll_rh_status(hcd);
set_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags);
usb_hcd_poll_rh_status(xhci->shared_hcd);
+ set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
+ usb_hcd_poll_rh_status(hcd);
return 0;
}