aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2009-07-29 18:09:20 +0400
committerPaul Fertser <fercerpav@gmail.com>2009-08-02 11:27:19 +0400
commit37deadd5c1aca22e1be6793cbe09532485c1d43b (patch)
tree7ebdd61151d6b8cc26ecc1a2776ae019433bafec /include/linux
parentc31a0fec70c7ab1f9d0a5846abb31b80274e6914 (diff)
pcf50633: properly reenable charging when the supply conditions change
If chgmod == BATFULL, setting chgena has no effect. Datasheet says we need to set resume instead but when autoresume is used resume doesn't work. Clear and set chgena instead. This enables a user to force charging by re-plugging USB even when the charger entered Battery Full mode, might be handy before a long trip. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions