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>
This commit is contained in:
Tomeu Vizoso 2015-03-17 10:36:17 +01:00 committed by MyungJoo Ham
parent 2da19b1a4d
commit 34ed504008

View File

@ -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;
}