]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: s32g: Skip Root Port removal during success
authorVincent Guittot <vincent.guittot@linaro.org>
Mon, 2 Feb 2026 15:10:50 +0000 (16:10 +0100)
committerManivannan Sadhasivam <mani@kernel.org>
Tue, 3 Feb 2026 12:56:27 +0000 (18:26 +0530)
commitb79e0875fe8144fcb09e4fc1cf386cb3b2262480
tree533e595106b935c2265ba549fb5380117cb84e3e
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
PCI: s32g: Skip Root Port removal during success

Currently, s32g_pcie_parse_ports() exercises the 'err_port' path even
during the success case. This results in ports getting deleted after
successful parsing of Root Ports.

Hence, skip the removal of Root Ports during success.

Fixes: 5cbc7d3e316e ("PCI: s32g: Add NXP S32G PCIe controller driver (RC)")
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
[mani: reworded subject and description]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260202151050.1446165-1-vincent.guittot@linaro.org
drivers/pci/controller/dwc/pcie-nxp-s32g.c