aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod.c
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2011-07-01 16:54:06 -0400
committerPaul Walmsley <paul@pwsan.com>2011-07-09 21:13:36 -0400
commit6652271a2556c086c04658dce16de2947e849ffd (patch)
treec7730a7770c448be6fa7e56cd9fb655c0fc5417f /arch/arm/mach-omap2/omap_hwmod.c
parent31f62866c578b3d47ef7810b336e9e193b90167f (diff)
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)
944 944
945 if (!ret) 945 if (!ret)
946 oh->_state = _HWMOD_STATE_CLKS_INITED; 946 oh->_state = _HWMOD_STATE_CLKS_INITED;
947 else
948 pr_warning("omap_hwmod: %s: cannot _init_clocks\n", oh->name);
947 949
948 return ret; 950 return ret;
949} 951}