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

Skip to content
Commit ba4792aa authored by Amir Vajid's avatar Amir Vajid
Browse files

PM / devfreq: Remove dependencies between sysfs nodes and suspend count



This change reverts commit 5e33579a ("devfreq: Do not allow tunable
updates when device is suspended") and commit db4f4a09 ("PM/devfreq:
Do not switch governors from sysfs when device is suspended").

Userspace updates to sysfs nodes like governor and polling_interval are
currently not allowed when there is a non-zero suspend count. This
requirement existed in the past due to hardware dependencies in some
devfreq drivers. However, these hardware dependencies should be handled
by the relevant devfreq drivers rather than the devfreq framework so
remove the suspend count checks in these devfreq framework sysfs APIs.

Change-Id: I8010b519d72784a6b90955acc7899c1a520aa7e7
Signed-off-by: default avatarAmir Vajid <avajid@codeaurora.org>
parent 378eb426
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