qcacmn: shift timer_thres by 3

setup to correct value by shifting intr_timer_thres_us
by 3 for interrupt timer to take less time.

Change-Id: I0eb799bf3a3443a7ca4a43512b7ec03444da81bc
CRs-Fixed: 3439468
This commit is contained in:
Ruben Columbus
2023-03-20 17:32:49 -07:00
committed by Madan Koyyalamudi
parent c7200a49ec
commit 035e4557da

View File

@@ -304,7 +304,7 @@ void hal_srng_src_hw_init_generic(struct hal_soc *hal,
if (srng->intr_timer_thres_us) { if (srng->intr_timer_thres_us) {
reg_val |= SRNG_SM(SRNG_SRC_FLD(CONSUMER_INT_SETUP_IX0, reg_val |= SRNG_SM(SRNG_SRC_FLD(CONSUMER_INT_SETUP_IX0,
INTERRUPT_TIMER_THRESHOLD), INTERRUPT_TIMER_THRESHOLD),
srng->intr_timer_thres_us); srng->intr_timer_thres_us >> 3);
/* For HK v2 this should be (srng->intr_timer_thres_us >> 3) */ /* For HK v2 this should be (srng->intr_timer_thres_us >> 3) */
} }