diff options
| author | 2022-08-27 07:32:24 +0000 | |
|---|---|---|
| committer | 2022-09-11 12:19:28 +0200 | |
| commit | e568252d722d70bcb3e903477e46f5024138f8ca (patch) | |
| tree | ba41506661c04fb16e24cdef89677648e7f87d16 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type() (diff) | |
| download | linux-dev-e568252d722d70bcb3e903477e46f5024138f8ca.tar.xz linux-dev-e568252d722d70bcb3e903477e46f5024138f8ca.zip | |
power: supply: adp5061: show unknown capacity_level as text
adp5061_get_battery_status() only defined show chg_status <= 4, others will
be show as '-1731902199' from /sys/class/power_supply/xx/capacity_level.
switch to show them as 'Unknown'.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
