summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-10-24 14:05:44 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-10-24 14:05:44 -0700
commit01109ac391bf63514a537eab825d7ac2d7dafb1a (patch)
treeecfcd9ba5f1ac77d289e8804726ad55e03fcf10e /fs/jbd2/commit.c
parentf410c9200446e502e55456b0beda774a602bb3cf (diff)
qpnp-fg-gen3: Fix storing nominal capacity to actual capacity
Currently, nominal capacity is stored back to the actual capacity only when the actual capacity is non-zero. However, that can be true when the battery is inserted for the first time. This makes the actual capacity to be stored only when a capacity learning cycle completes. Other algorithms like to use actual capacity before that. Fix it. Change-Id: I346085ec722f491f96181ef1beb383710b441f4b Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions