diff options
| author | Hans Zhang <18255117159@163.com> | 2026-05-18 08:42:43 +0800 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-06-23 14:36:25 -0500 |
| commit | 0a46957df45af0382ccf0cc43f9b0a1df438605d (patch) | |
| tree | a1e56de8988064862e52f951cc0dd34f5638167b /include/linux/timerqueue.h | |
| parent | 57d3400df05222ee8ab32223150df2472a471d02 (diff) | |
PCI: dwc: Use common pci_host_common_link_train_delay() helper
The DWC driver already implements the 100 ms delay required by PCIe
r6.0 sec 6.6.1 by checking pci->max_link_speed and calling msleep(100).
Replace the open-coded msleep() with the new common helper
pci_host_common_link_train_delay() to reduce code duplication and
improve maintainability. No functional change intended.
Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260518004246.1384532-5-18255117159@163.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
