[PATCH ath-next v2 0/2] wifi: ath12k: Fix IRQ cleanup on PCI IRQ configuration failure
Aaradhana Sahu <[email protected]>
| Newsgroups | org.infradead.lists.ath12k,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
Free partially allocated IRQ resources when PCI IRQ configuration fails. The first patch frees previously requested CE IRQs if CE IRQ configuration fails. The second patch frees previously requested external IRQs, stores the IRQ number only after request_irq() succeeds, and cleans up allocated resources on failure. --- v2: -Used ath12k_pci_free_ce_irq() in the external IRQ config failure path. --- Aaradhana Sahu (2): wifi: ath12k: Free allocated CE IRQs on request_irq() failure wifi: ath12k: Free allocated external IRQs on request_irq() failure drivers/net/wireless/ath/ath12k/pci.c | 55 ++++++++++++++++----------- 1 file changed, 32 insertions(+), 23 deletions(-) base-commit: e07447e654476262558bee570f4cf456e2b32565 -- 2.34.1