power: qpnp-bms: Fix sign of adc current reads

When the BMS switched to using the adc driver for synchronous
voltage and current reads, the sign of the current readings got
reversed. This causes inaccuracies in the BMS because the estimated
OCV is now lower than it should be because of the negative IR drop.

Fix this by flipping the sign of the adc current readings.

Change-Id: I605f227bb635cb494056a87df14e1b6ba7678e1b
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
1 file changed