diff options
author | Paul Fertser <fercerpav@gmail.com> | 2009-07-29 18:09:20 +0400 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-12-06 09:09:23 +0100 |
commit | c6af44a6b6624d82f608da46a33df5e531e58d60 (patch) | |
tree | bc13771d78a30028a27294b77ad1a8d70094798e /drivers/serial/pmac_zilog.h | |
parent | 08e4c1d585561d59cf2fa428b2df8d6c185e3af9 (diff) |
power: 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 'drivers/serial/pmac_zilog.h')
0 files changed, 0 insertions, 0 deletions