summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorHans Zhang <18255117159@163.com>2026-05-18 08:42:43 +0800
committerBjorn Helgaas <bhelgaas@google.com>2026-06-23 14:36:25 -0500
commit0a46957df45af0382ccf0cc43f9b0a1df438605d (patch)
treea1e56de8988064862e52f951cc0dd34f5638167b /include/linux/stackprotector.h
parent57d3400df05222ee8ab32223150df2472a471d02 (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/stackprotector.h')
0 files changed, 0 insertions, 0 deletions