summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pcie-designware-ep.c
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@linaro.org>2024-03-27 21:24:49 +0300
committerBjorn Helgaas <bhelgaas@google.com>2024-07-10 02:19:58 +0300
commitb262518262f5a13978eb2b17574a70411908e665 (patch)
treeb58fe5e6f16bfb07fec2a7527eebf6c17f9c5529 /drivers/pci/controller/dwc/pcie-designware-ep.c
parent96447ede32d81a88c7a40ca2d0ac078268f648e0 (diff)
downloadlinux-b262518262f5a13978eb2b17574a70411908e665.tar.xz
PCI: dwc: Use msleep() in dw_pcie_wait_for_link()
According to [1], msleep should be used for large sleeps, such as the 100-ish ms one in this function. Comply with the guide and use it. [1] https://docs.kernel.org/timers/timers-howto.html [kwilczynski: commit log] Link: https://lore.kernel.org/linux-pci/20240215-topic-pci_sleep-v2-1-79334884546b@linaro.org Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-designware-ep.c')
0 files changed, 0 insertions, 0 deletions