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

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

power: qpnp-vm-bms: improve wake-up source handling



VM-BMS driver holds a wake-up source while charger is in
Constant Voltage(CV) state and the check for conditions to
hold/release wake-up source is done in the monitor_soc_work.
In situation when USB is removed in the CV state the wake-up
source can only be released once monitor_soc_work is scheduled.

Fix this by scheduling monitor_soc_work for every power_supply
change event.

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