power: qpnp-fg: always read CPRED_VOLTAGE
Currently the fuel gauge driver only reads CPRED_VOLTAGE until the
battery profile is loaded. This is incorrect, as this value is also used
by the driver to report to userspace. Change the conditional check on
the SRAM parameter enums so that the update_sram function always read
CPRED_VOLTAGE whenever the sram is being refreshed.
CRs-Fixed: 827068
Change-Id: I2f951c40d40bf95b95cda883b3378e764f6b5baf
Signed-off-by:
Xiaozhe Shi <xiaozhes@codeaurora.org>
Loading
Please register or sign in to comment