summaryrefslogtreecommitdiff
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-02-24 16:04:46 -0800
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-02-28 20:06:09 -0800
commitc7d377aa837e1c015d72e5d918635eccbdf2741a (patch)
tree8262752dfce056ffc23c42b29a9d808ff44760c4 /kernel/cpuset.c
parentf419890fd6558b73f835457246666d6ab8c34d7a (diff)
power: qpnp-fg-gen3: Add support to clamp ESR
If ESR value goes to 0 because of some hardware issue, there is no way to recover it back from that state. This causes incorrect SOC reporting leading to a bad user experience. Hence add support to clamp ESR value based on user defined DT property so that ESR can be clamped to this value once it is found to go below it. Since this change modifies ESR value in SRAM, having FG_SRAM_ESR property would make encode and decode the value easier. Hence remove fg_get_battery_esr() and get it from FG_SRAM_ESR property. CRs-Fixed: 2011200 Change-Id: I96250b44f52d6208f3c64fb9e61f70ea41f54f4e Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions