aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod.c
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2011-07-01 22:54:06 +0200
committerPaul Walmsley <paul@pwsan.com>2011-07-09 19:13:36 -0600
commit6652271a2556c086c04658dce16de2947e849ffd (patch)
treec7730a7770c448be6fa7e56cd9fb655c0fc5417f /arch/arm/mach-omap2/omap_hwmod.c
parentOMAP2+: hwmod: Fix the HW reset management (diff)
downloadlinux-dev-6652271a2556c086c04658dce16de2947e849ffd.tar.xz
linux-dev-6652271a2556c086c04658dce16de2947e849ffd.zip
OMAP: hwmod: Add warnings if enable failed
Change the debug into warning to check what IPs are failing. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index df91bb1dc972..64e983046217 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -944,6 +944,8 @@ static int _init_clocks(struct omap_hwmod *oh, void *data)
if (!ret)
oh->_state = _HWMOD_STATE_CLKS_INITED;
+ else
+ pr_warning("omap_hwmod: %s: cannot _init_clocks\n", oh->name);
return ret;
}