Graf Yang ec01481ddc Blackfin: fix timer_init()/timer_reset()
The timer_init() function was not using the right csync instruction, nor
was it doing it right after disabling the core timer.

The timer_reset() function would reset the timestamp, but not the actual
timer, so there was a common edge case where get_timer() return a jump of
one timestamp (couple milliseconds) right after resetting.  This caused
many functions to improperly timeout right away.

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-19 04:57:33 -04:00
..
2008-03-30 15:50:19 -04:00
2008-03-30 15:50:19 -04:00
2008-03-30 15:50:19 -04:00
2009-03-23 15:14:52 -04:00
2009-02-02 12:24:40 -05:00
2009-03-23 15:14:52 -04:00
2008-03-30 15:50:19 -04:00