]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: imx6: Reduce resume time by only starting link if it was up before suspend
authorRichard Zhu <hongxing.zhu@nxp.com>
Thu, 14 Jul 2022 07:31:05 +0000 (15:31 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2022 20:33:54 +0000 (15:33 -0500)
commita6db0263fa19bdad69150f78d343066c88cd28ab
tree44751aa809501262df47c06e4e2989cbad734267
parentac7f8b2744d2e1b742737810075f24e097246444
PCI: imx6: Reduce resume time by only starting link if it was up before suspend

i.MX PCIe doesn't support hotplug. During resume, only start PCIe link
training when the link was up before system suspend to avoid the long
latency in the link training period.

Link: https://lore.kernel.org/r/1657783869-19194-14-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pci-imx6.c