commit | 95b78d53706d3866c232e4f4819ad38a88f148d4 | [log] [tgz] |
---|---|---|
author | Junlin Yang <yangjunlin@yulong.com> | Sat Jan 16 19:41:20 2021 +0800 |
committer | Sebastian Reichel <sre@kernel.org> | Sat Jan 16 15:02:15 2021 +0100 |
tree | 8ebc07bd4d09c9e83a9f62bc8d5318296942def9 | |
parent | b7e15bd0c17a37d6ab61dceb08ef683855e85635 [diff] |
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: Junlin Yang <yangjunlin@yulong.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>