Re: [PATCH ath-next v2 0/2] wifi: ath12k: Fix IRQ cleanup on PCI IRQ configuration failure
Rameshkumar Sundaram <[email protected]>
| Newsgroups | org.infradead.lists.ath12k,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
On 8/19/2026 4:32 PM, Aaradhana Sahu wrote: > 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 Reviewed-by: Rameshkumar Sundaram <[email protected]>