Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

usb: xhci-mtk: resume USB3 roothub first

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>

authored by

Chunfeng Yun and committed by
Greg Kroah-Hartman
555df582 ffe84e01

+2 -2
+2 -2
drivers/usb/host/xhci-mtk.c
··· 642 642 xhci_mtk_host_enable(mtk); 643 643 644 644 xhci_dbg(xhci, "%s: restart port polling\n", __func__); 645 - set_bit(HCD_FLAG_POLL_RH, &hcd->flags); 646 - usb_hcd_poll_rh_status(hcd); 647 645 set_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); 648 646 usb_hcd_poll_rh_status(xhci->shared_hcd); 647 + set_bit(HCD_FLAG_POLL_RH, &hcd->flags); 648 + usb_hcd_poll_rh_status(hcd); 649 649 return 0; 650 650 } 651 651