qcacmn: add hif_grp_irq_deconfigure bus_ops to free ext grp IRQs
As per current design, in failure path of hdd_wlan_start_modules, mem_free of hif_ext_group is done (in cds_dp_close) before free_irq (in hdd_hif_close), during next hdd_wlan_start_modules, request_irq adds new handler entry to the list in irq_desc, this leads to a crash on accessing older stale entry from irq handler, so adding a bus_ops hif_grp_irq_deconfigure to free ext grp IRQs. Change-Id: I4d0a2bee1fabee388cea8a85226fae641165a8d5 CRs-Fixed: 2949400
This commit is contained in:

committed by
Madan Koyyalamudi

parent
e914459b55
commit
7d79770907
@@ -2853,6 +2853,7 @@ static void dp_soc_interrupt_detach(struct cdp_soc_t *txrx_soc)
|
||||
if (soc->intr_mode == DP_INTR_POLL) {
|
||||
qdf_timer_free(&soc->int_timer);
|
||||
} else {
|
||||
hif_deconfigure_ext_group_interrupts(soc->hif_handle);
|
||||
hif_deregister_exec_group(soc->hif_handle, "dp_intr");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user