Skip to content
Commit bafc19c3 authored by Ramakrishnan Ganesh's avatar Ramakrishnan Ganesh Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: sleepstate: Enable/Disable IPCRTR wakelocks



The acquiring of wakelock prevents the system from entering
suspend for high frequency non-wakeup sensor requests. With
this change IPCRTR now does not acquire a wakelock while cpu
is out of suspend. This allows the cpu to enter suspend.
The wakelocks are enabled in the suspend path so that future
wakeup capable sensor events gets handled without issues.
The wakelocks are disabled post resume from suspend.
This change affects only the data on the SLPI edge.

Change-Id: Iae3dafb735bfb0d3000487f2fa2216d68e9a026f
Signed-off-by: default avatarRamakrishnan Ganesh <ramakris@codeaurora.org>
parent 5f300da0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment