commit | af9dafb1dcf320a46783e09764c758bc4e32ed94 | [log] [tgz] |
---|---|---|
author | Lennert Buytenhek <buytenh@wantstofly.org> | Wed Aug 10 02:37:55 2011 +0800 |
committer | Eric Miao <eric.y.miao@gmail.com> | Thu Aug 11 10:10:46 2011 +0800 |
tree | 36cd1fcd0ae97621f6d4d4cb02a94548677d0c8f | |
parent | 71c0c341403cb141e3580817947e56a4386db4c8 [diff] |
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 <buytenh@laptop.org> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>