Skip to content

Commit

Permalink
PM / devfreq: tegra: Enable interrupts after resuming the devfreq mon…
Browse files Browse the repository at this point in the history
…itor

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
  • Loading branch information
Tomeu Vizoso authored and MyungJoo Ham committed Mar 31, 2015
1 parent 2da19b1 commit 34ed504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/devfreq/tegra-devfreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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;
}

Expand Down

0 comments on commit 34ed504

Please sign in to comment.