Commit 7604bc2
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/[email protected]
Signed-off-by: Maciej W. Rozycki <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>1 parent 680e9c4 commit 7604bc2
1 file changed
+3
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4928 | 4928 | | |
4929 | 4929 | | |
4930 | 4930 | | |
4931 | | - | |
4932 | 4931 | | |
4933 | | - | |
4934 | 4932 | | |
4935 | 4933 | | |
4936 | 4934 | | |
4937 | 4935 | | |
4938 | 4936 | | |
4939 | 4937 | | |
4940 | | - | |
| 4938 | + | |
4941 | 4939 | | |
4942 | 4940 | | |
4943 | 4941 | | |
| |||
4952 | 4950 | | |
4953 | 4951 | | |
4954 | 4952 | | |
4955 | | - | |
4956 | | - | |
4957 | | - | |
4958 | | - | |
4959 | | - | |
4960 | | - | |
4961 | | - | |
4962 | | - | |
4963 | | - | |
4964 | | - | |
| 4953 | + | |
4965 | 4954 | | |
4966 | 4955 | | |
4967 | 4956 | | |
4968 | | - | |
| 4957 | + | |
4969 | 4958 | | |
4970 | 4959 | | |
4971 | 4960 | | |
| |||
0 commit comments