Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d580f195 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

soc: qcom: qpnp-haptic: Optimize updating RATE_CFG registers



Currently, RATE_CFG registers are updated when the auto resonance
is enabled and no errors are seen with auto resonance or the play
rate is within allowed limits. However, it is getting updated
multiple times with the same play rate multiple times. This adds
up some delay in a critical path when the haptics duration is
small. While at it, add APIs to do multiple read/writes to the
peripheral registers like AUTO_RES_LO/HI and RATE_CFG1/2.

Change-Id: I1b5625cc1f9aa3f07552a6b4ef23f2d34241b6a1
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent b9b8b965
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment