mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "qcacmn: Fix SRNG low threshold setting in HAL"
This commit is contained in:
commit
f468418ef4
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue