diff options
author | Alok Tiwari <alok.a.tiwari@oracle.com> | 2025-09-05 14:14:34 -0700 |
---|---|---|
committer | Manivannan Sadhasivam <mani@kernel.org> | 2025-09-29 23:34:39 +0530 |
commit | cfcd6cab2f33c24a68517f9e3131480b4000c2be (patch) | |
tree | 801c72d73762ce39131b8cd4637e5daf45899f22 | |
parent | f842d3313ba179d4005096357289c7ad09cec575 (diff) |
PCI: j721e: Fix incorrect error message in probe()
The probe() function prints "pm_runtime_get_sync failed" when
j721e_pcie_ctrl_init() returns an error. This is misleading since
the failure is not from pm_runtime, but from the controller init
routine. Update the error message to correctly reflect the source.
No functional changes.
Fixes: f3e25911a430 ("PCI: j721e: Add TI J721E PCIe driver")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Link: https://patch.msgid.link/20250905211436.3048282-1-alok.a.tiwari@oracle.com
-rw-r--r-- | drivers/pci/controller/cadence/pci-j721e.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/cadence/pci-j721e.c b/drivers/pci/controller/cadence/pci-j721e.c index 5a9ae33e2b93..5bc5ab20aa6d 100644 --- a/drivers/pci/controller/cadence/pci-j721e.c +++ b/drivers/pci/controller/cadence/pci-j721e.c @@ -575,7 +575,7 @@ static int j721e_pcie_probe(struct platform_device *pdev) ret = j721e_pcie_ctrl_init(pcie); if (ret < 0) { - dev_err_probe(dev, ret, "pm_runtime_get_sync failed\n"); + dev_err_probe(dev, ret, "j721e_pcie_ctrl_init failed\n"); goto err_get_sync; } |