Skip to content
Commit cd060b4d authored by Andreas Kemnade's avatar Andreas Kemnade Committed by Sebastian Reichel
Browse files

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: default avatarAndreas Kemnade <andreas@kemnade.info>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 95b78d53
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment