Message ID | 87iprq4xx2.fsf@ti.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Paul Walmsley |
Headers | show |
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 51a13f3..4bcffca 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c @@ -1391,9 +1391,10 @@ static int _enable(struct omap_hwmod *oh) r = clkdm_hwmod_enable(oh->clkdm, oh); if (r) { WARN(1, "omap_hwmod: %s: could not enable clockdomain %s: %d\n", - oh->name, oh->clkdm->name, r); + oh->name, oh->clkdm ? oh->clkdm->name : "none", r); return r; } + _enable_clocks(oh); _enable_module(oh);