From 2a6ddaaf9c5f47f926342031c54e5fd626deac3b Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Wed, 16 Apr 2014 00:43:41 +0300 Subject: [PATCH] hwmod: disable reset wait code causes data abort on venc init here, probably bad clock/hwmod data --- arch/arm/mach-omap2/omap_hwmod.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 5a7f478a6d33..0d81b14b294a 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c @@ -958,6 +958,7 @@ static void _enable_sysc(struct omap_hwmod *oh) if (!oh->class->sysc) return; +#if 0 /* causes data abort on venc on 3.2 */ /* * Wait until reset has completed, this is needed as the IP * block is reset automatically by hardware in some cases @@ -969,6 +970,7 @@ static void _enable_sysc(struct omap_hwmod *oh) _wait_softreset_complete(oh); if (oh->flags & HWMOD_CONTROL_OPT_CLKS_IN_RESET) _disable_optional_clocks(oh); +#endif v = oh->_sysc_cache; sf = oh->class->sysc->sysc_flags; -- 2.30.2