diff options
author | Andy Green <andy@openmoko.com> | 2009-02-05 17:01:56 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-02-05 17:01:56 +0000 |
commit | 9029dff1f370018665a6e2999632a34fd0518f4d (patch) | |
tree | c22b98c93bdbcc3b1477318f3d70e8f7bbdf22d4 /arch/mips | |
parent | 8886032fd8cc0120b0d95a57137cc9b884325b3c (diff) |
fix-pcf50633-set-charging-limit-with-usb-limit.patch
Cedric noticed that when he turned his GTA02 OFF while hooked to
a "dumb" USB charger that should only be asked for 100mA, suddenly
much more current was demanded.
When PMU enters PMU standmy when we go OFF, its USB current limit
is reset to the variant default of 500mA. Since we previously had
the charging current limit fixed at 1A, it meant we immediately
charge at 500mA.
This patch makes the charging limit follow the USB current limit,
so that even when we go off, no more than the last authorized amount
of current will be taken, even if the USB current limit is later
broken by the variant default.
Reported-by: Cedric Berger <cedric.berger74@gmail.com>
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions