Skip to content

Commit 386789e

Browse files
digetxmyungjoo
authored andcommitted
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>
1 parent 151531f commit 386789e

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/devfreq/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ config ARM_EXYNOS_BUS_DEVFREQ
9595
config ARM_TEGRA_DEVFREQ
9696
tristate "Tegra DEVFREQ Driver"
9797
depends on ARCH_TEGRA_124_SOC
98-
select DEVFREQ_GOV_SIMPLE_ONDEMAND
9998
select PM_OPP
10099
help
101100
This adds the DEVFREQ driver for the Tegra family of SoCs.

‎drivers/devfreq/tegra-devfreq.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,7 @@ static struct devfreq_governor tegra_devfreq_governor = {
594594
.name = "tegra_actmon",
595595
.get_target_freq = tegra_governor_get_target,
596596
.event_handler = tegra_governor_event_handler,
597+
.immutable = true,
597598
};
598599

599600
static int tegra_devfreq_probe(struct platform_device *pdev)

0 commit comments

Comments
 (0)