Skip to content

librem5: spl: bq25895: Actually check for BATFET_DLY being set

The check is supposed to pass when both BATFET_DLY and BATFET_DIS are set. However, what it actually checked for is whether at least one of those bits is set, resulting in BATFET_DIS getting unset even when BATFET_DLY is not set.

Signed-off-by: Sebastian Krzyszkowiak sebastian.krzyszkowiak@puri.sm

Edited by Sebastian Krzyszkowiak

Merge request reports