diff options
| author | Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> | 2026-09-16 14:37:49 +0200 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-10-20 15:37:01 -0500 |
| commit | bea2ff3b9de1e32716bc517082b7e3c7330e2151 (patch) | |
| tree | 5292e49386f6d2d58fe4267cc59fdd3448087524 /scripts/basic/split-include.c | |
| parent | ed1d71e41c7b2e755e0ef8e9af9cab9b6b185c4b (diff) | |
| download | linux-bea2ff3b9de1e32716bc517082b7e3c7330e2151.tar.gz linux-bea2ff3b9de1e32716bc517082b7e3c7330e2151.zip | |
PCI: qcom: Ignore -ENODEV after Root Port reset
Root Port recovery may race with a device hot-unplug. In that case,
dw_pcie_wait_for_link() returns -ENODEV because no device is detected
after the controller has been successfully reset.
This is a valid outcome and should not cause Root Port recovery to
fail. Ignore -ENODEV while continuing to propagate other link-training
errors.
Fixes: 4d88cb82a6d9 ("PCI: qcom: Implement .reset_root_port() and use for link down")
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Link: https://patch.msgid.link/20260916-topic-pcie_portrec_enodev-v1-1-5dc7bde39552@oss.qualcomm.com
Assisted-by: LLM
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
