[MIPS] Sibyte: Stop timers before programming next even.
[linux-3.10.git] / arch / mips / kernel / cevt-bcm1480.c
index e54410e5a2cd75a160dfd962874df9cad679c4a1..0a57f86945f1e5be7b85553cc4839ba7348d2371 100644 (file)
@@ -75,6 +75,7 @@ static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd)
        cfg = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
        init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_INIT));
 
+       __raw_writeq(0, cfg);
        __raw_writeq(delta - 1, init);
        __raw_writeq(M_SCD_TIMER_ENABLE, cfg);