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

Skip to content
Commit b1e5be42 authored by Zhenhua Huang's avatar Zhenhua Huang Committed by Gerrit - the friendly Code Review server
Browse files

Power: qpnp-linear-charger: Add spin_lock for soc based resume charging



There's a race between get_prop_capacity and qpnp_batt_power_set_property.
Fix this by adding spin_lock to execute the whole chg_done update and
charging enable/disable.

CRs-Fixed: 655107
Change-Id: I91633add3911dbb440011a88966bc833735e4c60
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
parent bff9ba42
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