diff options
| author | Junlin Yang <yangjunlin@yulong.com> | 2021-01-16 19:41:20 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2021-01-16 15:02:15 +0100 |
| commit | 95b78d53706d3866c232e4f4819ad38a88f148d4 (patch) | |
| tree | 8ebc07bd4d09c9e83a9f62bc8d5318296942def9 /include/linux/fpga/fpga-bridge.h | |
| 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>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions
