qcacmn: Flush srng tp and hp only for flush event

Currently after runtime resume all SW2TCL data and reo cmd
srng rings hp and tp value are flushed. In case of IPA
offload case SW2TCL3 righ hp value will be updated by IPA
and not by host. In case of runtime pm enable host is
setting the value to zero as part of runtime resume which
results in incorrect hp value of SW2TCL3. As part of this
change set flush event for rings which are accessed by host
during link down state and after runtime resume flush the
rings for which flush event is set.

Change-Id: I5c9afa708277cf3a6e6d5ef99447bc21f88cfdcf
CRs-Fixed: 2514621
这个提交包含在:
Sravan Kumar Kairam
2019-09-16 14:22:55 +05:30
提交者 nshrivas
父节点 816b503c44
当前提交 78b01a1e1b
修改 6 个文件,包含 93 行新增4 行删除

查看文件

@@ -726,6 +726,8 @@ void *hal_srng_setup(void *hal_soc, int ring_type, int ring_num,
SRNG_LOCK_INIT(&srng->lock);
srng->srng_event = 0;
srng->initialized = true;
return (void *)srng;