diff options
author | Paul Fertser <fercerpav@gmail.com> | 2009-11-04 21:24:58 (GMT) |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2009-11-16 00:31:40 (GMT) |
commit | 1282b35a1edf5f12ae58a2b16ae8615dfe0d9ecc (patch) | |
tree | 9262529155d3e741e0afde7b8d9bdd0708d70181 /kernel/irq | |
parent | e98c73a24f33d6f54402f5cef2e7bf282d1d1fcc (diff) | |
download | linux-1282b35a1edf5f12ae58a2b16ae8615dfe0d9ecc.tar.xz |
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>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions