summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-hyperv-intf.c
diff options
context:
space:
mode:
authorSiddharth Vadapalli <s-vadapalli@ti.com>2024-08-27 17:54:22 +0530
committerKrzysztof Wilczyński <kwilczynski@kernel.org>2024-09-13 21:36:11 +0000
commit4d60f6d4b8fa4d7bad4aeb2b3ee5c10425bc60a4 (patch)
tree80830ea298a4726319fa11e7ac1dd79e82884269 /drivers/pci/controller/pci-hyperv-intf.c
parent03f84b3baba7836bdfc162c19288d5ce1aa92890 (diff)
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/20240827122422.985547-3-s-vadapalli@ti.com Tested-by: Udit Kumar <u-kumar1@ti.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/pci/controller/pci-hyperv-intf.c')
0 files changed, 0 insertions, 0 deletions