diff options
| author | Chandrasekaran, Manishekar <cmshekar@qti.qualcomm.com> | 2014-09-18 16:06:31 +0530 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2014-09-22 19:09:12 +0530 |
| commit | 4d5973b9fdf2adcdb0d24cbc438c921735e168bb (patch) | |
| tree | 4e1091dbb6b5d750f9f408da86a53a1630e70366 | |
| parent | adbd2300d841ffa3b1563c72118d18d8c552a8de (diff) | |
qcacld: Mask HIF interrupts after HTC cleanup
When HIF interrupts are not disabled after
HTC cleanup, due to supurious interrupts,
there is race between driver unload and the
interrupt handler. This leads to crash. This
is fixed by masking the interrupts after HTC
cleanup.
Change-Id: Idf1f4e1f7171c9b3f1911c1a75517480ac30bd3c
CRs-Fixed: 725917
| -rw-r--r-- | CORE/SERVICES/HTC/htc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CORE/SERVICES/HTC/htc.c b/CORE/SERVICES/HTC/htc.c index 1c74c6c3f2e2..602bddfbfe46 100644 --- a/CORE/SERVICES/HTC/htc.c +++ b/CORE/SERVICES/HTC/htc.c @@ -146,6 +146,9 @@ static void HTCCleanup(HTC_TARGET *target) if (target->hif_dev != NULL) { HIFDetachHTC(target->hif_dev); +#ifdef HIF_SDIO + HIFMaskInterrupt(target->hif_dev); +#endif target->hif_dev = NULL; } |
