qcacmn: Drain group tasklets and reg write work for runtime PM

Currently as part of runtime PM, only the active
tasklets are being drained. For chips eg. QCA6390,
QCA6490 etc, there are grp_tasklets and delayed reg
write work which has to be drained before entering
runtime PM.

Add the logic to drain all the possible tasks
before entering runtime PM.

Change-Id: Ieb486f00fffd7346dcdc1faea6fed5850ef6daf7
CRs-Fixed: 2676000
这个提交包含在:
Rakesh Pillai
2020-05-06 16:42:36 +05:30
提交者 nshrivas
父节点 5cf3d57f4e
当前提交 37cc4255e2
修改 7 个文件,包含 122 行新增2 行删除

查看文件

@@ -718,6 +718,7 @@ struct hal_soc {
/* read index used by worker thread to dequeue/write registers */
uint32_t read_idx;
#endif
qdf_atomic_t active_work_cnt;
};
#ifdef FEATURE_HAL_DELAYED_REG_WRITE