mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-04 17:05:12 -04:00
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: f3e25911a4 ("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
This commit is contained in:
committed by
Manivannan Sadhasivam
parent
f842d3313b
commit
cfcd6cab2f
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user