OSDN Git Service

qpnp-fg-gen3: fix ESR filter configuration
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>
Thu, 9 Feb 2017 04:39:16 +0000 (20:39 -0800)
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>
Thu, 9 Feb 2017 04:50:25 +0000 (20:50 -0800)
commit1451ae3c730a520baacc3f417abc58147a85fc34
tree51e3746e0c6d2c7393025c82b38d4df3f87a5366
parent9d60729b18d9ea84a5047e334cf43de7bde70bca
qpnp-fg-gen3: fix ESR filter configuration

ESR filter coefficients for room temperature are functional and
ESR filter coefficients for cold temperature are not. Fix the
ESR filter configuration to always configure the ESR filters for
room temperature with normal and low temperature coefficients
depending on the specified temperature threshold.

Change-Id: If3bd8c187e59f59d29249bebdc1c243681dd41bd
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
drivers/power/supply/qcom/qpnp-fg-gen3.c