commit | 8dfa741f146b39eb59ef2094e03f47079ca99eb0 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Sun Nov 11 17:33:55 2007 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Nov 15 23:21:50 2007 +0000 |
tree | 823c790dff8619a3671c1a8a19671e020b9b4e2d | |
parent | 622477533d3dc24845c847f386533f3c0e6a1be6 [diff] |
[MIPS] Sibyte: Stop timers before programming next even. We have no guarantee by the generic time code that the timer is stopped when the ->next_event method is called. Modifying the Timer Initial Count register while the timer is enabled has UNPREDICTABLE effect according to the BCM1250/BCM1125/BCM1125H User Manual. So stop the timer before reprogramming. This is a paranoia fix; no ill effects have been observed previously. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>