PCI: Use pcie_wait_for_link_status() in pcie_wait_for_link_delay()
Remove a DLLLA status bit polling loop from pcie_wait_for_link_delay() and call almost identical code in pcie_wait_for_link_status() instead. This reduces the lower bound on the polling interval from 10ms to 1ms, possibly increasing the CPU load on the system in favour to reducing the wait time. Link: https://lore.kernel.org/r/alpine.DEB.2.21.2306111611170.64925@angie.orcam.me.ukSigned-off-by:Maciej W. Rozycki <macro@orcam.me.uk> Signed-off-by:
Bjorn Helgaas <bhelgaas@google.com>
Showing
Please register or sign in to comment