summaryrefslogtreecommitdiff
path: root/scripts/extract-cert.c
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-11-10 15:37:29 -0800
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-11-14 19:44:04 -0800
commit1ff9fbe4866dca901c018f789fda0cd5efae7d64 (patch)
tree762a9d516b2c39a3192e12c90359c718cc24e1c0 /scripts/extract-cert.c
parentd8675c149da424158c1867bf6f9c7ece5cee53de (diff)
power: qpnp-fg-gen3: update battery profile based on Rconn configuration
Currently, Rconn is configured once in fg_hw_init() if it is not configured already. However, if the driver loads the profile later, it will overwrite the Rconn value configured during fg_hw_init. To fix this problem, configure Rconn after handling battery profile loading. Usually the Rconn configuration is setup differently from what the profile has for it. We check if the profile in SRAM is bit to bit matching with the profile in device tree. We may come across a mismatch for Rconn configuration and conclude that the profile isn't matching. Fix this by initializing the Rconn configuration in the profile read from device tree to the value read from SRAM. CRs-Fixed: 2142441 Change-Id: I2b7ac8cd6efe811527c29bc5cd0fa43b77da7b15 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'scripts/extract-cert.c')
0 files changed, 0 insertions, 0 deletions