Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH ath-next v2 0/2] wifi: ath12k: Fix IRQ cleanup on PCI IRQ configuration failure
@ 2026-08-19 11:02 Aaradhana Sahu
  2026-08-19 11:02 ` [PATCH ath-next v2 1/2] wifi: ath12k: Free allocated CE IRQs on request_irq() failure Aaradhana Sahu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Aaradhana Sahu @ 2026-08-19 11:02 UTC (permalink / raw)
  To: ath12k
  Cc: linux-wireless, jjohnson, quic_kiranv, baochen.qiang,
	vasanthakumar.thiagarajan, Aaradhana Sahu

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-19 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19 11:02 [PATCH ath-next v2 0/2] wifi: ath12k: Fix IRQ cleanup on PCI IRQ configuration failure Aaradhana Sahu
2026-08-19 11:02 ` [PATCH ath-next v2 1/2] wifi: ath12k: Free allocated CE IRQs on request_irq() failure Aaradhana Sahu
2026-08-19 11:02 ` [PATCH ath-next v2 2/2] wifi: ath12k: Free allocated external " Aaradhana Sahu
2026-08-19 11:18 ` [PATCH ath-next v2 0/2] wifi: ath12k: Fix IRQ cleanup on PCI IRQ configuration failure Baochen Qiang
2026-08-19 15:13 ` Rameshkumar Sundaram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox