Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34ed5040 authored by Tomeu Vizoso's avatar Tomeu Vizoso Committed by MyungJoo Ham
Browse files

PM / devfreq: tegra: Enable interrupts after resuming the devfreq monitor

parent 2da19b1a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}