power: qpnp-bms: Do not use ADC sync API when battery is full
power: qpnp-bms: Do not use ADC sync API when battery is full

There is a hardware bug that causes the ADC synchronous voltage and
current reads to give garbage current values when the battery FET is
open.

Since the batfet can open and close in microseconds, simply do not
use the ADC synchronous API when the battery is full. Instead, read
battery current from the BMS and read battery voltage from VADC.

CRs-Fixed: 479213
Change-Id: Ic3cc9adbb5d759eb5192e76514bdf55188aa5526
Signed-off-by: Xiaozhe Shi <4c58d9c21c42c2a4cf34b559441bd01b9c143cf4@codeaurora.org>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas