diff options
| author | Yassine Oudjana <[email protected]> | 2022-03-29 03:34:03 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2022-04-13 10:05:22 +0000 |
| commit | 581045ed5cfa42ed7f5364d6ccbcb6fcc077ffcf (patch) | |
| tree | 247ca6778f0e8338ec6d49ef7992dc74936381f2 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | power: supply: samsung-sdi-battery: Add missing charge restart voltages (diff) | |
| download | kernel-581045ed5cfa42ed7f5364d6ccbcb6fcc077ffcf.tar.gz kernel-581045ed5cfa42ed7f5364d6ccbcb6fcc077ffcf.zip | |
power: supply: Reset err after not finding static battery
Otherwise power_supply_get_battery_info always returns -ENODEV
on devices that do not have a static battery, even when a simple
battery is found.
Fixes: c8aee3f41cb8 ("power: supply: Static data for Samsung batteries")
Signed-off-by: Yassine Oudjana <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
