]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
power: supply: bq25890: show max charge current/voltage as configured
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Mon, 17 Dec 2018 19:28:16 +0000 (20:28 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 23 Jan 2019 21:29:45 +0000 (22:29 +0100)
commitf83a6ece6997fe64ce9b02e8169c3fb43c68ea55
tree3dca7a5e6b1a8b3ac9c68f4da2142ea2af4408eb
parentd3e67c94e8f607ee90097d296deecf030af9b8ab
power: supply: bq25890: show max charge current/voltage as configured

Use firmware-provided limits for POWER_SUPPLY_*_MAX properties instead
of chip max values. This will reflect the battery limits as those are
the important ones.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq25890_charger.c