]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
m68knommu: init coldfire timer TRR with n - 1, not n
authorPhilippe De Muyter <phdm@macqel.be>
Thu, 12 Jun 2008 22:21:36 +0000 (15:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jun 2008 01:05:40 +0000 (18:05 -0700)
commit6c38d8578545482fe45d6e6ea37be02a2e1bb289
tree05f291e2fc1e9cf89398aed63b843bfe6c766789
parent67dddaad5d8b8c5ee5b96a7e2f6cb0faad703865
m68knommu: init coldfire timer TRR with n - 1, not n

The coldfire timer must be initialised to n - 1 if we want it to count n
cycles between each tick interrupt.  This was already fixed, but has been
lost with the conversion to GENERIC_TIMER.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Acked-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68knommu/platform/coldfire/timers.c