]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: sh_cmt: compute mult and shift before registration
authorPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 08:10:44 +0000 (17:10 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 08:10:44 +0000 (17:10 +0900)
commitdb73ab2d770dcf789fe2e009dee26e8362998763
tree1bda3fdcdd3b706542f9464aed84d346fa5fab25
parente9b80f0e8eeacc9f6c56e4d6f2208b954bab026c
clocksource: sh_cmt: compute mult and shift before registration

Based on the sh_tmu change in e9b80f0e8eeacc9f6c56e4d6f2208b954bab026c
("clocksource: sh_tmu: compute mult and shift before registration").
The same issues impact the sh_cmt driver, so we take the same approach
here.

Cc: stable@kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/clocksource/sh_cmt.c