mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacmn: Fix SRNG low threshold setting in HAL
SRNG low_threshold setting should be in no. of dwords. Change-Id: I9940f02936cff5947d2bae800ecf6d05b168e729
This commit is contained in:
parent
4f886f3aa9
commit
335bbd1374
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