]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: bq25890: Fix initial setting of the F_CONV_RATE field
authorHans de Goede <hdegoede@redhat.com>
Sat, 30 Oct 2021 18:28:04 +0000 (20:28 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 2 Nov 2021 15:48:47 +0000 (16:48 +0100)
commitd2f9bddcbbe18d933a6cb2df4653c832fd8e391a
treec914901c9fde67c97d7092e4ff1a6462333da947
parent15cd1d7120f5bb7cd7dedb114dc41ead17782dd4
power: supply: bq25890: Fix initial setting of the F_CONV_RATE field

The code doing the initial setting of the F_CONV_RATE field based
on the bq->state.online flag. In order for this to work properly,
this must be done after the initial bq25890_get_chip_state() call.

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