summaryrefslogtreecommitdiff
path: root/kernel/locking/mutex-debug.c
diff options
context:
space:
mode:
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>2017-07-07 13:49:29 -0700
committerAbhijeet Dharmapurikar <adharmap@codeaurora.org>2017-07-31 19:23:19 -0700
commit7b5b0b59142c2efd4f00fcf402333bd18b44d692 (patch)
tree9d65b8006623f19888f5b81b672c0040e6a9b3a1 /kernel/locking/mutex-debug.c
parenta6e2c2983fd0cb4fc539974bf0db8880612a272b (diff)
qpnp-qnovo: IADC/ESR workarounds
When FG IADC measurement period coincides with qnovo discharge pulses it reads incorrect IADC values. That causes issues with SOC accuracy and capacity learning amongst others. The fix to IADC inaccuracy is to set a bit in the FG peripheral while Qnovo is active. A side effect of IADC inaccuracy fix is that the ESR measurement goes haywire. To overcome that, disable ESR when Qnovo is active and force an esr measurement when its between pulses. Realize this by setting CHARGE_QNOVO_ENABLE and RESISTANCE property on the bms psy at appropriate times in the driver. Change-Id: I5b37083c843ec6bc052c4d344347b9a80554e226 Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions