mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Deregister HIF ext groups on rmmod
- Deregister & free the hif ext ctx when detaching DP interrupts. - Unregister the hotcpu_notifier during rmmod. Change-Id: I35cf8b22ff785e90f6e6fd976e83e46a126f95e2 CRs-Fixed: 2086729
This commit is contained in:
parent
9edc5dba43
commit
aca7fc9ece
1 changed files with 8 additions and 0 deletions
|
|
@ -182,6 +182,14 @@ int hdd_napi_destroy(int force)
|
|||
i,
|
||||
NAPI_PIPE2ID(i), force);
|
||||
}
|
||||
} else {
|
||||
struct hif_opaque_softc *hif_ctx;
|
||||
hif_ctx = cds_get_context(QDF_MODULE_ID_HIF);
|
||||
|
||||
if (unlikely(NULL == hif_ctx))
|
||||
QDF_ASSERT(NULL != hif_ctx);
|
||||
else
|
||||
rc = hif_napi_cpu_deinit(hif_ctx);
|
||||
}
|
||||
|
||||
/* if all instances are removed, it is likely that hif_context has been
|
||||
|
|
|
|||
Loading…
Reference in a new issue