Commit af9dafb1 authored by Committed by Eric Miao
ARM: mmp: Change the way we use timer 0 as clockevent timer.
Instead of setting up a match interrupt for 'current_time + delta' on ->set_next_event(), program timer 0 to count down from 'delta - 1' and trigger an interrupt when it reaches zero. Signed-off-by: Lennert Buytenhek <firstname.lastname@example.org> Acked-by: Haojian Zhuang <email@example.com> Signed-off-by: Eric Miao <firstname.lastname@example.org>
Showing with 35 additions and 12 deletions