commit | 68d105c8e1d6ed53e7b393d387fbc694bb2ed802 | [log] [tgz] |
---|---|---|
author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | Mon Oct 03 18:30:32 2016 -0700 |
committer | Harry Yang <harryy@codeaurora.org> | Mon Mar 27 11:01:58 2017 -0700 |
tree | b873b7b8823f56bb2857f76c1a47a81c2b95928e | |
parent | 4f8e7d20609fba2f918e67131667d29fad2fb48a [diff] |
qpnp-fg-gen3: fix reading OCV and Vbatt predicted values Open circuit voltage and predicted battery voltage are read from 16 bits. However, the real value is present only in 15 bits. Mask the bit 16 to get the proper readings. Change-Id: I196ccc64fd221fead87a88f43dce1a21ba800908 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>