mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
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:
parent
2da19b1a4d
commit
34ed504008
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user