From: Paul Fertser Date: Wed, 4 Nov 2009 21:24:58 +0000 (+0300) Subject: pcf50633: Properly reenable charging when the supply conditions change X-Git-Tag: v2.6.33-rc1~81^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1282b35a1edf5f12ae58a2b16ae8615dfe0d9ecc;p=pandora-kernel.git 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 Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed