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

Skip to content
Commit fe0ec623 authored by Sujeev Dias's avatar Sujeev Dias
Browse files

mhi: cntrl: qcom: disable runtime PM support in a graceful manner



MHI relies on runtime PM framework auto-suspend feature. Initial
approach did not stop the auto-suspend timer or disable runtime
PM at device power down. It also re-initialized internal
variables at power up which resulted in a use after free scenario
as an old timer entry was freed again at a time of core collapse.
Disable runtime PM support gracefully at device power down to
avoid such scenarios.

CRs-Fixed: 2352747
Change-Id: I72f370fc77b04c12fdf2a5cf2a46a94fffa99082
Acked-by: default avatarBhaumik Vasav Bhatt <bbhatt@qti.qualcomm.com>
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent 0eef6c41
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