commit | cd060b4d0868c806c2738a5e64e8ab9bd0fbec07 | [log] [tgz] |
---|---|---|
author | Andreas Kemnade <andreas@kemnade.info> | Fri Dec 04 15:49:50 2020 +0100 |
committer | Sebastian Reichel <sre@kernel.org> | Sat Jan 16 15:44:58 2021 +0100 |
tree | ee3b5c027526f87febe95b1af8da0b02f28023cd | |
parent | 95b78d53706d3866c232e4f4819ad38a88f148d4 [diff] |
power: supply: bq27xxx: fix polarity of current_now current_now has to be negative during discharging and positive during charging, the behavior seen is the other way round. Tested on GTA04 with Openmoko battery. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>