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

Commit e248cd5d authored by Amit Daniel Kachhap's avatar Amit Daniel Kachhap Committed by Kukjin Kim
Browse files

ARM: EXYNOS: Fix for stall in case of cpu hotplug or sleep



This patch adds remove_irq in place of disable_irq which
is correct equivalent function for setup_irq used in
exynos4_mct_tick_init.

Signed-off-by: default avatarAmit Daniel Kachhap <amit.kachhap@linaro.org>
Tested-by: default avatarInderpal Singh <inderpal.singh@linaro.org>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent de611dd4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -428,9 +428,13 @@ int __cpuinit local_timer_setup(struct clock_event_device *evt)

void local_timer_stop(struct clock_event_device *evt)
{
	unsigned int cpu = smp_processor_id();
	evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt);
	if (mct_int_type == MCT_INT_SPI)
		disable_irq(evt->irq);
		if (cpu == 0)
			remove_irq(evt->irq, &mct_tick0_event_irq);
		else
			remove_irq(evt->irq, &mct_tick1_event_irq);
	else
		disable_percpu_irq(IRQ_MCT_LOCALTIMER);
}