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

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

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: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 9898f867
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