diff options
author | 2017-04-25 17:09:04 +0200 | |
---|---|---|
committer | 2017-05-01 12:43:20 +0200 | |
commit | 4df2cce4722d35eb35bb9371e7c9a600a84558f9 (patch) | |
tree | 7c120731edbac1c50b2c4242d06dcfe7431f3705 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | power: supply: pda_power: move from timer to delayed_work (diff) | |
download | wireguard-linux-4df2cce4722d35eb35bb9371e7c9a600a84558f9.tar.xz wireguard-linux-4df2cce4722d35eb35bb9371e7c9a600a84558f9.zip |
power: supply: sbs-battery: Don't ignore the first external power change
A mechanism to ignore the first external power change notification was
put in place years ago to ignore the power_supply_register notification.
However, this doesn't apply to the current situation anymore, as the
first notification is always the result of a legitimate power change.
This removes this deprecated mechanism, which puts back the driver's
state machine to a sane state (an ignored first notification previously
caused a charging/discharging status inversion).
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions