Skip to content
Commit af9dafb1 authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Eric Miao
Browse files

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: default avatarLennert Buytenhek <buytenh@laptop.org>
Acked-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 71c0c341
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment