qcacmn: Deregister HIF ext groups on rmmod

- Deregister & free the hif ext ctx when detaching DP interrupts.
- Unregister the hotcpu_notifier during rmmod.

Change-Id: Icbd3c6cee70b6b224059a4b301b9840485a96d11
CRs-Fixed: 2086729
This commit is contained in:
psimha
2017-08-02 17:27:14 -07:00
committed by snandini
parent 579c02f570
commit a079b8c678
4 changed files with 53 additions and 2 deletions

View File

@@ -299,6 +299,7 @@ struct qca_napi_data {
int lilcl_head, bigcl_head;
enum qca_napi_tput_state napi_mode;
struct notifier_block hnc_cpu_notifier;
bool cpu_notifier_registered;
uint8_t flags;
};
@@ -890,6 +891,8 @@ uint32_t hif_register_ext_group(struct hif_opaque_softc *hif_ctx,
uint32_t numirq, uint32_t irq[], ext_intr_handler handler,
void *cb_ctx, const char *context_name,
uint32_t budget);
void hif_deregister_exec_group(struct hif_opaque_softc *hif_ctx,
const char *context_name);
void hif_update_pipe_callback(struct hif_opaque_softc *osc,
u_int8_t pipeid,