Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0794fdf6 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Stephen Boyd
Browse files

power: pm8921-charger: speed up AICL



An issue is observed where it takes 3 to 4 seconds for the AICL
algorithm to settle on a certain USB current. This should be as
fast as possible.

Fix this by circumventing the delay of the unplug check worker if the
USB input current limit has increased.

Also remove the rounding of jiffies to the nearest second
when unplug check worker is called. This way we guarantee
that unplug check worker (and AICL) runs within the timing
requirements.

Change-Id: I546ff57d76e50ad86eb5853782fdcc1f348c9f0e
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 0c316e96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment