[PATCH v6 7/8] PM / devfreq: tegra: Enable interrupts after resuming the devfreq monitor

From: Tomeu Vizoso
Date: Tue Mar 17 2015 - 05:37:54 EST


Signed-off-by: Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx>
---
drivers/devfreq/tegra-devfreq.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/devfreq/tegra-devfreq.c b/drivers/devfreq/tegra-devfreq.c
index 23be954..0d1edd5 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;
}

--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/