Message ID | lsq.1489146383.332922970@decadent.org.uk (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
--- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -458,10 +458,15 @@ static int exynos4_local_timer_setup(str static void exynos4_local_timer_stop(struct clock_event_device *evt) { + struct mct_clock_event_device *mevt; + + mevt = container_of(evt, struct mct_clock_event_device, evt); + evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt); if (mct_int_type == MCT_INT_SPI) { if (evt->irq != -1) disable_irq_nosync(evt->irq); + exynos4_mct_write(0x1, mevt->base + MCT_L_INT_CSTAT_OFFSET); } else { disable_percpu_irq(mct_irqs[MCT_L0_IRQ]); }