qcacmn: Add a new version of hal_srng API does not update HW pointer
Add hal_srng unlock API to be used in completions reap funtion (CE) in
which HW head pointer/tail pointers need not be updated
CRs-Fixed: 1088985
Change-Id: Ia54b144e5dfd0b37bbabf992c764697928ddf76d
diff --git a/hif/src/ce/ce_service_srng.c b/hif/src/ce/ce_service_srng.c
index e65bf62..352b968 100644
--- a/hif/src/ce/ce_service_srng.c
+++ b/hif/src/ce/ce_service_srng.c
@@ -519,7 +519,7 @@
src_ring->sw_index = sw_index;
status = QDF_STATUS_SUCCESS;
}
- hal_srng_access_end(scn->hal_soc, src_ring->srng_ctx);
+ hal_srng_access_end_reap(scn->hal_soc, src_ring->srng_ctx);
return status;
}