Commit cf86723d authored by David Keitel's avatar David Keitel
Browse files

power: pm8921-charger: set vddmax in increments of step size



When charging a dead battery and increasing VDD_MAX
voltage there may be an inrush current causing USB_IN to
severely drop causing the device to reset.

To avoid this severe drop add a method to increase
or decrease VDD_MAX only in increments of 20 mV until
desired voltage has been reached.

Change-Id: Idf522ac837c75bce7b5a2b3e870696afe29eabf3
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 192db7be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment