summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-03-07 19:42:37 -0800
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-03-16 20:44:19 -0700
commit34d5b6df837563344493488e3ba3ea3eaa239c88 (patch)
tree5d290e70a717092e07d020b60635247b4370bf36 /include/linux/debugobjects.h
parent122836477bf6797f2679371b46e9376cdcbf437e (diff)
soc: qcom: qpnp-haptic: Fix reading MISC_TRIM_ERROR_RC19P2_CLK register
Currently MISC_TRIM_ERROR_RC19P2_CLK register is hardcoded to read the trim error in 19.2 MHz RC clock. However, this can be located differently in some PMICs. Add support to read it from misc device as this register cannot be directly accessed from haptics driver. Specify the MISC peripheral and the clock trim error register in haptics for pmi8998 and pm660 so that haptics initial drive code can be adjusted based on error code properly. Change-Id: I04d8dbac0f943c65272531647c54d3c1495331e7 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions