diff options
author | Thomas Elste <thomas.elste@imms.de> | 2015-05-28 12:05:32 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-05-29 05:26:50 +0300 |
commit | cd054ee16580690830297dbda0abe9c184276d6a (patch) | |
tree | edb2a4cf8cf8481006dded3a1dfe743efd6ab373 /mm/pagewalk.c | |
parent | 843735b788a4e49c453f4aefdae80e6dfbe9ee85 (diff) | |
download | linux-cd054ee16580690830297dbda0abe9c184276d6a.tar.xz |
power: bq24190_charger: Change first_time flag reset condition
The initial register reset of BQ24190 generates a charger status change
whose propagation via power_supply_changed is prevented using a flag.
This flag gets never reset so all following events are ignored as well
leading for example to userspace not detecting charger connects/disconnects.
Therefor change the reset condition of first_time flag, so only the
propagation of the first charger status change is prevented.
Signed-off-by: Thomas Elste <thomas.elste@imms.de>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'mm/pagewalk.c')
0 files changed, 0 insertions, 0 deletions