From: ext Peter 'p2' De Schrijver <[EMAIL PROTECTED]>

Signed-off-by: Peter 'p2' De Schrijver <[EMAIL PROTECTED]>
Signed-off-by: Kalle Jokiniemi <[EMAIL PROTECTED]>
---
 arch/arm/mach-omap2/pm34xx.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index a6cfc46..fc72c11 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -484,3 +484,15 @@ static void __init configure_vc(void)
 #endif
 
 }
+
+static int __init omap3_pm_early_init(void)
+{
+       prm_clear_mod_reg_bits(OMAP3430_OFFMODE_POL, OMAP3430_GR_MOD,
+                               OMAP3_PRM_POLCTRL_OFFSET);
+
+       configure_vc();
+
+       return 0;
+}
+
+arch_initcall(omap3_pm_early_init);
-- 
1.5.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to