Skip to content
Commit 95b78d53 authored by Junlin Yang's avatar Junlin Yang Committed by Sebastian Reichel
Browse files

power: supply: charger-manager: fix incorrect health status



cm->emergency_stop will only be the value in the enumeration,
and cannot be less than zero, it will get an exception value.
So replace it with the corresponding value.

Signed-off-by: default avatarJunlin Yang <yangjunlin@yulong.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent b7e15bd0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment