]> Gentwo Git Trees - linux/.git/commit
PCI: j721e: Fix incorrect error message in probe()
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Fri, 5 Sep 2025 21:14:34 +0000 (14:14 -0700)
committerManivannan Sadhasivam <mani@kernel.org>
Mon, 29 Sep 2025 18:04:39 +0000 (23:34 +0530)
commitcfcd6cab2f33c24a68517f9e3131480b4000c2be
tree801c72d73762ce39131b8cd4637e5daf45899f22
parentf842d3313ba179d4005096357289c7ad09cec575
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
drivers/pci/controller/cadence/pci-j721e.c