summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/devfreq/tegra-devfreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/devfreq/tegra-devfreq.c b/drivers/devfreq/tegra-devfreq.c
index 7fa1bd4c431b..8e633a6d775d 100644
--- a/drivers/devfreq/tegra-devfreq.c
+++ b/drivers/devfreq/tegra-devfreq.c
@@ -577,8 +577,8 @@ static int tegra_governor_event_handler(struct devfreq *devfreq,
switch (event) {
case DEVFREQ_GOV_START:
- tegra_actmon_enable_interrupts(tegra);
devfreq_monitor_start(devfreq);
+ tegra_actmon_enable_interrupts(tegra);
break;
case DEVFREQ_GOV_STOP:
@@ -592,8 +592,8 @@ static int tegra_governor_event_handler(struct devfreq *devfreq,
break;
case DEVFREQ_GOV_RESUME:
- tegra_actmon_enable_interrupts(tegra);
devfreq_monitor_resume(devfreq);
+ tegra_actmon_enable_interrupts(tegra);
break;
}