]> git.baikalelectronics.ru Git - kernel.git/commit
power: bq25890: Enable continuous conversion for ADC at charging
authorYauhen Kharuzhy <jekhor@gmail.com>
Sun, 7 Nov 2021 20:20:01 +0000 (23:20 +0300)
committerSebastian Reichel <sre@kernel.org>
Mon, 15 Nov 2021 14:09:54 +0000 (15:09 +0100)
commit325eb25fad5534434a7d3f0f4a4edb4fcbd216bf
tree7105f90d87d033884e311abe7cef27cd54dd2bfe
parent4c865078b912901aaca957e4702030439845f8f2
power: bq25890: Enable continuous conversion for ADC at charging

Instead of one shot run of ADC at beginning of charging, run continuous
conversion to ensure that all charging-related values are monitored
properly (input voltage, input current, themperature etc.).

Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq25890_charger.c