diff options
| author | Siddharth Vadapalli <[email protected]> | 2024-08-27 12:24:22 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2024-09-13 21:36:11 +0000 |
| commit | 4d60f6d4b8fa4d7bad4aeb2b3ee5c10425bc60a4 (patch) | |
| tree | 80830ea298a4726319fa11e7ac1dd79e82884269 /drivers/pci/controller/vmd.c | |
| parent | PCI: dra7xx: Fix threaded IRQ request for "dra7xx-pcie-main" IRQ (diff) | |
| download | kernel-4d60f6d4b8fa4d7bad4aeb2b3ee5c10425bc60a4.tar.gz kernel-4d60f6d4b8fa4d7bad4aeb2b3ee5c10425bc60a4.zip | |
PCI: dra7xx: Fix error handling when IRQ request fails in probe
Commit d4c7d1a089d6 ("PCI: dwc: dra7xx: Push request_irq()
call to the bottom of probe") moved the IRQ request for
"dra7xx-pcie-main" towards the end of dra7xx_pcie_probe().
However, the error handling does not take into account the
initialization performed by either dra7xx_add_pcie_port() or
dra7xx_add_pcie_ep(), depending on the mode of operation.
Fix the error handling to address this.
Fixes: d4c7d1a089d6 ("PCI: dwc: dra7xx: Push request_irq() call to the bottom of probe")
Link: https://lore.kernel.org/linux-pci/[email protected]
Tested-by: Udit Kumar <[email protected]>
Signed-off-by: Siddharth Vadapalli <[email protected]>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Kevin Hilman <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions
