summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Fertser2009-11-04 22:24:58 +0100
committerAnton Vorontsov2009-11-16 01:31:40 +0100
commit1282b35a1edf5f12ae58a2b16ae8615dfe0d9ecc (patch)
tree9262529155d3e741e0afde7b8d9bdd0708d70181 /include
parentpcf50633: Get rid of charging restart software auto-triggering (diff)
downloadkernel-qcow2-linux-1282b35a1edf5f12ae58a2b16ae8615dfe0d9ecc.tar.gz
kernel-qcow2-linux-1282b35a1edf5f12ae58a2b16ae8615dfe0d9ecc.tar.xz
kernel-qcow2-linux-1282b35a1edf5f12ae58a2b16ae8615dfe0d9ecc.zip
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 'include')
0 files changed, 0 insertions, 0 deletions