[PATCH ath-next 0/2] wifi: ath12k: Fix AHB IRQ error handling
Aaradhana Sahu
aaradhana.sahu at oss.qualcomm.com
Mon Nov 23 22:57:36 PST 2026
Handle error conditions in the AHB external IRQ configuration path.
The first patch checks for failures from platform_get_irq_byname() and
cleans up allocated NAPI instances and associated netdevs when IRQ
retrieval fails.
The second patch handles devm_request_irq() failures by clearing the
IRQ status flags and updating ab->irq_num[] only after a successful
IRQ request.
These changes improve error handling and ensure that IRQ configuration
failures do not leave stale IRQ status flags or an invalid IRQ number
in the driver.
---
Aaradhana Sahu (2):
wifi: ath12k: Handle IRQ retrieval failures in AHB
wifi: ath12k: ahb: Fix IRQ status flag cleanup
drivers/net/wireless/ath/ath12k/ahb.c | 46 ++++++++++++++++++++++++++++++-----
1 file changed, 40 insertions(+), 6 deletions(-)
---
base-commit: 03b7c601b6e314115015a57061f5b377afe13190
change-id: 20261124-handle-irq-retrieval-822eb8c8728c
More information about the ath12k
mailing list