Verified Commit 3e747399 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak
Browse files

power: supply: max17042_battery: Prevent int underflow in set_soc_threshold

Fixes: e5f3872d

 ("max17042: Add support for signalling change in SOC")
Signed-off-by: Sebastian Krzyszkowiak's avatarSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
parent 0b8b7587
Pipeline #71090 passed with stage
in 67 minutes and 42 seconds