Commit 68a57642 authored by Krishna chaitanya chundru's avatar Krishna chaitanya chundru Committed by Ajay Agarwal
Browse files

BACKPORT: PCI: dwc: Don't wait for link up if driver can detect Link Up event

If the driver can detect the Link Up event and enumerate downstream devices
at that time, we need not wait here.

Skip waiting for link to come up if the driver supports 'use_linkup_irq'.

Link: https://lore.kernel.org/r/20241123-remove_wait2-v5-1-b5f9e6b794c2@quicinc.com


Signed-off-by: default avatarKrishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: default avatarKrzysztof Wilczyński <kwilczynski@kernel.org>
[bhelgaas: wrap comment, update commit log]
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: default avatarNiklas Cassel <cassel@kernel.org>

Bug: 374242499
Change-Id: I0ecc36d8fedf45e7ceead3bbef0b038243547762
(cherry picked from commit 8d3bf19f)
[ajayagarwal: use PCIe capabilities to avoid breaking the ABI]
Signed-off-by: default avatarAjay Agarwal <ajayagarwal@google.com>
parent 0b74ac20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment