sh: turn off irqs when disabling CMT/TMU timers
[deliverable/linux.git] / drivers / clocksource / sh_tmu.c
index 08e6ec2cb0946ee883c515d9fbf78e09cc6290a8..9ffb05f4095d7598c6b8fc8e37bc55cae96ae2b6 100644 (file)
@@ -138,6 +138,9 @@ static void sh_tmu_disable(struct sh_tmu_priv *p)
        /* disable channel */
        sh_tmu_start_stop_ch(p, 0);
 
+       /* disable interrupts in TMU block */
+       sh_tmu_write(p, TCR, 0x0000);
+
        /* stop clock */
        clk_disable(p->clk);
 }
This page took 0.027917 seconds and 5 git commands to generate.