diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2010-03-11 17:57:35 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-04-05 18:25:11 -0400 |
commit | d99c3871148cb643cffe138e9427b7a743aca367 (patch) | |
tree | c8c9f16f963263dce4ed72d814d72cb93ed481ee /drivers/serial | |
parent | 2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6 (diff) |
davinci: timers: don't enable timer until clocksource is initialized
On da830, when the same timer is used for clocksource and clockevent,
the timer can be started before the clockevent is
registered/initialzed. This creates a window where a timer
interrupt might fire before the clockevent handler has been
setup and causes a crash.
This patch moves the actual enable/start of the timer after
the clockevent has ben registered.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions