Merge "qcacmn: Fix SRNG low threshold setting in HAL"

This commit is contained in:
Linux Build Service Account 2017-06-18 02:48:32 -07:00 • committed by Gerrit - the friendly Code Review server
commit f468418ef4

View file

@ -1148,7 +1148,8 @@ void *hal_srng_setup(void *hal_soc, int ring_type, int ring_num,
srng->entry_size;
srng->u.src_ring.tp_addr =
&(hal->shadow_rdptr_mem_vaddr[ring_id]);
srng->u.src_ring.low_threshold = ring_params->low_threshold;
srng->u.src_ring.low_threshold =
ring_params->low_threshold * srng->entry_size;
if (ring_config->lmac_ring) {
/* For LMAC rings, head pointer updates will be done
* through FW by writing to a shared memory location