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

Skip to content
Commit a40a21d1 authored by Yue Ma's avatar Yue Ma Committed by Gerrit - the friendly Code Review server
Browse files

cnss2: Remove improper runtime PM enablement checks



Currently CNSS runtime PM APIs will check runtime PM enablement using
pm_runtime_enabled() by checking for disable_depth which can be changed
at any time. This may cause usage count imbalance since the CNSS API may
skip calling the corresponding runtime PM framework API to increase or
decrease usage count. Remove all these improper checks.

Change-Id: Ibe0802fd8e41bc9ade148d374dc55295736d0c1e
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent b38b5109
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