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

Skip to content
Commit 7b91f1ae authored by Ashay Jaiswal's avatar Ashay Jaiswal Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-linear-charger: fix mutex lockup



There is a deadlock condition between BMS reporting charging
status and charger driver perform SOC based resume of charging.

Fix the above deadlock by removing SOC based resume of charging
logic from charger driver. SOC based resume of charging is now
completely controlled by BMS driver and this can be enabled by
specifying 'qcom,resume-soc = <>' property in the BMS device node.

While at it:
- remove all the references of 'qcom,resume-soc' from the charger
  device node and add the same in the BMS device node.
- remove all the reference of 'qcom,bms-controlled-charging' from
  the charger device node as by default BMS will update the charging
  status via power-supply framework.

CRs-Fixed: 809700
Change-Id: Iff96fd27fceb167cc703270aff110f39b66ce78f
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent f1a96f69
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