clocksource: sh_cmt: One-off clockevent fix V2
authorMagnus Damm <damm@opensource.se>
Wed, 4 Aug 2010 04:31:38 +0000 (04:31 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 4 Aug 2010 07:01:24 +0000 (16:01 +0900)
commit43809473b9d5fa9f82bf64ddeb3c21fe1140ef0e
tree9869cb6b077a8e2096964b26984301a62d9756cb
parent7b42176a2969bc913cd2949e7edd935466745b11
clocksource: sh_cmt: One-off clockevent fix V2

Fix a one-off error in the CMT driver V2. The match register
should be programmed with the period minus one.

Many thanks to Eiraku-san for tracking down this issue.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/clocksource/sh_cmt.c