clocksource: sh_cmt: wait for CMCNT on init V2
authorMagnus Damm <damm@opensource.se>
Wed, 13 Jul 2011 07:59:48 +0000 (07:59 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 21 Jul 2011 07:16:51 +0000 (16:16 +0900)
Add code to the CMT driver to wait for CMCNT V2. This to let
the register value settle before starting the timer channel.
Makes the driver more robust.

Needed for CMT2 on sh7372 and certain CMT channels on sh73a0.

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

No differences found