linux/arch/sh/kernel/timers
Francesco VIRLINZI 2cd0ebc83d sh: Fixed the TMU0 reload value on resume
This patch fixes the TMU0 interrupt frequency on suspend/resume.
During the resume the kernel reprograms the TMU0.ClockEvent mode
but if the mode is periodic than the TMU0.TCOR is updated with
a random wrong value without taking care latest valid saved value.

There was no problem with No_HZ system where TMU0.TCOR isn't used.

Signed-off-by: Francesco M. Virlinzi <francesco.virlinzi@st.com>
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-11-13 17:40:30 +09:00
..
Makefile sh: generic clockevent broadcast support. 2008-09-08 10:35:03 +09:00
timer-broadcast.c sh: generic clockevent broadcast support. 2008-09-08 10:35:03 +09:00
timer-cmt.c sh: fixup many sparse errors. 2008-09-08 10:35:04 +09:00
timer-mtu2.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00
timer-tmu.c sh: Fixed the TMU0 reload value on resume 2008-11-13 17:40:30 +09:00
timer.c sh: section mismatch fixes for system timer. 2007-05-23 12:24:32 +09:00