linux-uconsole/drivers/devfreq
Rama Aparna Mallavarapu 4f9183cc24 ANDROID: GKI: PM/devfreq: Do not switch governors from sysfs when device is suspended
There is a possibility to switch the governors from sysfs even when the
device is in suspended state. This can cause a NOC error at times when
trying to access the device's monitor registers in a suspended state. This
change fixes this issue. Introduce a variable dev_suspended to know if
the device is in suspended state or not. Check if the device is suspended
before switching the governor from sysfs.

Change-Id: I15055aa51daa35272be4667e5bafb8ccd7933098
Signed-off-by: Rama Aparna Mallavarapu <aparnam@codeaurora.org>
Bug: 152343889
(cherry picked from commit 9c41437c072048a9487353b85a452114c4031659)
Signed-off-by: Saravana Kannan <saravanak@google.com>
2020-04-08 00:21:28 -07:00
..
event PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency 2020-02-24 08:34:44 +01:00
devfreq-event.c
devfreq.c ANDROID: GKI: PM/devfreq: Do not switch governors from sysfs when device is suspended 2020-04-08 00:21:28 -07:00
exynos-bus.c PM / devfreq: exynos-bus: Correct clock enable sequence 2019-10-05 13:09:48 +02:00
governor.h PM / devfreq: Move private devfreq_update_stats() into devfreq 2017-08-28 10:22:27 +09:00
governor_passive.c PM / devfreq: passive: fix compiler warning 2019-10-05 13:09:59 +02:00
governor_performance.c PM / devfreq: Define the constant governor name 2017-10-26 17:08:40 +09:00
governor_powersave.c PM / devfreq: Define the constant governor name 2017-10-26 17:08:40 +09:00
governor_simpleondemand.c PM / devfreq: Define the constant governor name 2017-10-26 17:08:40 +09:00
governor_userspace.c PM / devfreq: Define the constant governor name 2017-10-26 17:08:40 +09:00
Kconfig PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency 2020-02-24 08:34:44 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rk3399_dmc.c PM / devfreq: rk3399_dmc: Fix duplicated opp table on reload. 2018-07-18 13:58:39 +09:00
tegra-devfreq.c PM / devfreq: tegra: Fix kHz to Hz conversion 2019-10-11 18:20:46 +02:00