summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2015-03-17 10:36:17 +0100
committerMyungJoo Ham <myungjoo.ham@samsung.com>2015-03-31 13:17:15 +0900
commit34ed504008b2d8d3578191424fc5cddcb76d69f5 (patch)
tree2fe0ac6e9bddeead301586a1337f0a1198328968 /drivers/devfreq
parent2da19b1a4d4fadf8d84a5cb6a953749a559a29fb (diff)
downloadlinux-34ed504008b2d8d3578191424fc5cddcb76d69f5.tar.bz2
PM / devfreq: tegra: Enable interrupts after resuming the devfreq monitor
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq')
-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;
}