]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: charger-manager: Correct usage of CHARGE_NOW/FULL
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Thu, 14 May 2020 23:04:29 +0000 (16:04 -0700)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 28 Aug 2020 17:07:42 +0000 (19:07 +0200)
commit808e89fb51420cb2e6ea20aac156b910bdcb57a6
tree110bf456289c0de3fdeef998f7ad4cf5792d7bb4
parent3ae2649085d412fbc49609336f63bcb34a7bc54b
power: supply: charger-manager: Correct usage of CHARGE_NOW/FULL

The POWER_SUPPLY_CHARGE_NOW/FULL property reflects battery's charges
in uAh unit, but charger-manager has been used it wrongly as a
status field.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/charger-manager.c