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

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

power: pm8921-charger: workaround for active charger path



The active path bits in PBL_ACCESS1 register don't reflect the actual
status until some delay. This delay varies from few millisecond to
three seconds.

The unplug detection loop relies on these bits reflecting the correct
status for proper operation. Due to this bug the unplug worker wont
run when a charger is plugged in.

Update the code such that if it sees nothing set in the active path,
it still reschedules the unplug detection worker.

Change-Id: Ib99cd49623698d0295bc3c3cf880225495d530cb
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 73393b85
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