]> 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)
commit45ddca9174f37e6b4ba041d424dcddfc326a36db
tree44751aa809501262df47c06e4e2989cbad734267
parentaa37ceb5998fbc12e895270d9677ae0cad6eb482
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