summaryrefslogtreecommitdiff
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-05-17 17:43:22 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-05-31 19:01:05 -0700
commit6124f7574427070e5772366e3ceb53151303104f (patch)
tree7bd0c1953d7ddf05765b020c718227f0b747bb17 /net/ipv6/tcp_ipv6.c
parent3d1963e351de96cc19d692427d54652fe44bdaf0 (diff)
qpnp-fg-gen3: configure ESR timers dynamically based on charge termination
With ESR discharge timer retry, max having same value, ESR pulse can fire frequently when battery FET is open past charge termination. This frequent ESR pulses increase power consumption when the device is idle. Upon charge termination, change the ESR discharging timer retry to 0 so that ESR pulse can fire less frequently saving power. Add support for this through fg_esr_timer_config() based on end of charge and sleep conditions. Currently, retry/max for ESR charging and discharging timers are configured with the same value specified through device tree. Extend the device tree property to take in different retry/max values for those timers. Change-Id: Ib30b8ae7d893b5cab00ed83dd7318b53e3b63ac1 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions