summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/tegra-devfreq.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2019-05-02 01:38:09 +0200
committerMyungJoo Ham <myungjoo.ham@samsung.com>2019-08-24 13:11:12 +0200
commit386789ebbdd3a204ebe16b7a6277f7a45823549d (patch)
tree64bd1181d2c5188a30d93a15595cc9955b7f7f54 /drivers/devfreq/tegra-devfreq.c
parentPM / devfreq: tegra: Avoid inconsistency of current frequency value (diff)
downloadlinux-386789ebbdd3a204ebe16b7a6277f7a45823549d.tar.xz
linux-386789ebbdd3a204ebe16b7a6277f7a45823549d.zip
PM / devfreq: tegra: Mark ACTMON's governor as immutable
The ACTMON's governor supports only the Tegra's devfreq device and there is no need to use any other governor, hence let's mark Tegra governor as immutable to permanently stick it with Tegra's devfreq device. Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq/tegra-devfreq.c')
-rw-r--r--drivers/devfreq/tegra-devfreq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/devfreq/tegra-devfreq.c b/drivers/devfreq/tegra-devfreq.c
index f23f7b35863b..bf3fe2e81bc9 100644
--- a/drivers/devfreq/tegra-devfreq.c
+++ b/drivers/devfreq/tegra-devfreq.c
@@ -594,6 +594,7 @@ static struct devfreq_governor tegra_devfreq_governor = {
.name = "tegra_actmon",
.get_target_freq = tegra_governor_get_target,
.event_handler = tegra_governor_event_handler,
+ .immutable = true,
};
static int tegra_devfreq_probe(struct platform_device *pdev)