]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clocksource: sh_cmt: Rate calculation fix
authorMagnus Damm <damm@opensource.se>
Mon, 2 Aug 2010 09:24:05 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 4 Aug 2010 07:01:29 +0000 (16:01 +0900)
commit38409d726bc6413d39f082f60bc803f52d8b5849
tree5b598d835b6d89b871b529e496f96d24b7496f1f
parent43809473b9d5fa9f82bf64ddeb3c21fe1140ef0e
clocksource: sh_cmt: Rate calculation fix

Fix the rate calculation in the CMT driver.
Without this fix the clocksource runs way
too fast and we get a divide-by-zero error.

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