[PATCH v3 0/3] PCI: rzg3s: Fix issues in cleanup paths
Prabhakar <[email protected]>
| Newsgroups | org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
From: Lad Prabhakar <[email protected]> Hi all, This series fixes a few issues in the cleanup paths of the Renesas RZ/G3S PCIe host controller driver. The fixes include: - Disabling the PCIe reference clock on probe failure. - Propagating the original error code from platform_get_irq_byname() to allow probe deferral. - Unwinding chained handler registration on error in rzg3s_pcie_init_irqdomain() and clearing chained handlers in rzg3s_pcie_teardown_irqdomain() to avoid leaving stale handler and data pointers attached to the parent interrupts. v2->v3: - Added rzg3s_pcie_teardown_intx() helper to remove the irqdomain and clear chained handlers. - Updated commit message for patch 3. Cheers, Prabhakar Lad Prabhakar (3): PCI: rzg3s: Disable refclk on probe failure PCI: rzg3s: Propagate platform_get_irq_byname() errors PCI: rzg3s: Fix IRQ domain initialization error handling drivers/pci/controller/pcie-rzg3s-host.c | 51 +++++++++++++++++------- 1 file changed, 37 insertions(+), 14 deletions(-) -- 2.43.0