ARM: OMAP: Update dmtimers
authorTimo Teras <timo.teras@solidboot.com>
Mon, 26 Jun 2006 23:16:23 +0000 (16:16 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 26 Jun 2006 23:16:23 +0000 (16:16 -0700)
commit83379c81f6f05a6e80db66ae33378feb4cbca6b3
tree77d1c1b535ec0708df1325ddb0474aa878aba332
parent7df3450e5c22ba3969e4253dce0d7807dd210bf0
ARM: OMAP: Update dmtimers

- Initialize timer outside of spinlock to reduce the time the spinlock is held
- Do clk_get to the source clocks during initialization to avoid sleeping later
- New function to set counter register

Signed-off-by: Timo Teras <timo.teras@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dmtimer.c
include/asm-arm/arch-omap/dmtimer.h