summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHouston Hoffman <hhoffman@codeaurora.org>2016-11-14 18:03:19 -0800
committerqcabuildsw <qcabuildsw@localhost>2016-11-15 02:18:12 -0800
commit6d757395b6fd5dd9425dbdc42426282c06e0b700 (patch)
tree082db0e98f09c1fc70692e823f1025d8a2f65ce1
parentf603353fe22d20e79848e640abce57a6f9605a27 (diff)
qcacmn: Disable interrupt processing before stopping the bus
The interrupt free code is protected by a flag. In the normal case the interrupts are freed before the bus is stopped. Make all cases free the interrupt before hif_stop. Change-Id: I1e1dfae9ba388733eb13f2cdf90aa85b3db35b0d CRs-fixed: 1089935
-rw-r--r--hif/src/ce/ce_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hif/src/ce/ce_main.c b/hif/src/ce/ce_main.c
index 504cfc641f33..91cf521d0994 100644
--- a/hif/src/ce/ce_main.c
+++ b/hif/src/ce/ce_main.c
@@ -1867,6 +1867,11 @@ void hif_ce_stop(struct hif_softc *scn)
struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(scn);
int pipe_num;
+ /*
+ * before cleaning up any memory, ensure irq &
+ * bottom half contexts will not be re-entered
+ */
+ hif_nointrs(scn);
scn->hif_init_done = false;
/*