diff options
| author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-04-12 16:19:01 -0700 |
|---|---|---|
| committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-04-13 14:36:52 -0700 |
| commit | b9b8b965bf29b2352a28886b8d5ddabc93bbcc32 (patch) | |
| tree | 3aac76e05966bf399298dc3c7d2f9aa93c6b0d03 /include/linux/fpga/fpga-mgr.h | |
| parent | 9898f867d919f610016c338b39127595cc532a07 (diff) | |
qpnp-haptic: Fix writing incorrect value to EN_CTL1 when disabling haptics
Currently, variable "val" is used for caching the last value
written to EN_CTL1 register and also it is used to read STATUS
register. This causes an incorrect value being written to
EN_CTL1 register when the module is disabled. Fix it.
CRs-Fixed: 2032850
Change-Id: Ib3cbe1b41962e5dff38d9c4d343d8f3f43fc0009
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions
