diff options
author | Benoit Cousson <b-cousson@ti.com> | 2011-02-22 04:36:27 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-22 13:34:41 -0500 |
commit | 3b03b58dab847883e6b9a431558c7d8e43fa94c6 (patch) | |
tree | 14b6741a88ccfedb6ff9cb5efe58fa804e5f87d3 /arch | |
parent | 905a74d9a0452b15bb4087a0ea48d017430e4e23 (diff) |
OMAP4: hwmod data: Prevent timer1 to be reset and idle during init
Since the timer1 is now started before the hwmod_init, we cannot
reset it and idle it anymore.
Add the appropriate flags to prevent the hwmod framework to do that.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index 182aa79d5e52..79a860178913 100644 --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c | |||
@@ -3989,6 +3989,7 @@ static struct omap_hwmod_ocp_if *omap44xx_timer1_slaves[] = { | |||
3989 | static struct omap_hwmod omap44xx_timer1_hwmod = { | 3989 | static struct omap_hwmod omap44xx_timer1_hwmod = { |
3990 | .name = "timer1", | 3990 | .name = "timer1", |
3991 | .class = &omap44xx_timer_1ms_hwmod_class, | 3991 | .class = &omap44xx_timer_1ms_hwmod_class, |
3992 | .flags = HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET, | ||
3992 | .mpu_irqs = omap44xx_timer1_irqs, | 3993 | .mpu_irqs = omap44xx_timer1_irqs, |
3993 | .mpu_irqs_cnt = ARRAY_SIZE(omap44xx_timer1_irqs), | 3994 | .mpu_irqs_cnt = ARRAY_SIZE(omap44xx_timer1_irqs), |
3994 | .main_clk = "timer1_fck", | 3995 | .main_clk = "timer1_fck", |