diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2017-04-25 18:09:04 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-05-01 13:43:20 +0300 |
commit | 4df2cce4722d35eb35bb9371e7c9a600a84558f9 (patch) | |
tree | 7c120731edbac1c50b2c4242d06dcfe7431f3705 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 633e8799ddc09431be2744c4a1efdbda13af2b0b (diff) | |
download | linux-4df2cce4722d35eb35bb9371e7c9a600a84558f9.tar.xz |
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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions