Commit d585ff2a authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Linux Build Service Account
Browse files

power: pm8921-charger: Use min of therm and cool/warm current choice



Currently there are two entities that control the charge current,
the cool/warm zone and the thermal daemon. An issue was observed
where changes to cool/warm zone overwrites the charge current
set by the thermal daemon.

Fix this by selecting the min chg current for the above cases.

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