ARM: OMAP: Use GPT iclk only when needed
authorTimo Teras <timo.teras@solidboot.com>
Mon, 25 Sep 2006 09:41:35 +0000 (12:41 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Sep 2006 09:41:35 +0000 (12:41 +0300)
commitfa4bb626c660ada7cad3cc7e45da14f8ec17847c
tree8f8d3c09b2ace6721d36b3e53fe29bfcf44914f9
parent123e9a5573098dbb10194c18d6d575620d0e94f3
ARM: OMAP: Use GPT iclk only when needed

This patch makes the OMAP2 dmtimers module using the interface
clocks only while the registers are accessed (except GPT1 which has
iclk enabled all the time).

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