commit | c55037e008becbf2f572546d0da8ee4801e1064a | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@opensource.se> | Wed Jul 13 07:59:48 2011 +0000 |
committer | Do Q.Thang <qthangdo@gmail.com> | Tue Sep 06 11:24:51 2011 +0900 |
tree | 8e4dc87a42ea5a8f994ade321fcf2795532fe4df | |
parent | 351c6f8d5966798e6c0d98d463d065b98f45b4b1 [diff] |
clocksource: sh_cmt: wait for CMCNT on init V2 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> (cherry picked from commit 3f7e5e2423f6233f7665d54061ba7761ca90cf52) Signed-off-by: Do Q.Thang <qthangdo@gmail.com>