summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-04-11 17:28:50 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-04-13 14:37:02 -0700
commitd580f19581e77e4ed9620e3fd9231c6976d8d79c (patch)
treeb22b8fd57a4ca0c2d5b8c9ac1b370275b2ec1f7d /include/linux/fpga/fpga-mgr.h
parentb9b8b965bf29b2352a28886b8d5ddabc93bbcc32 (diff)
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: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions