diff options
author | Benoit Cousson <b-cousson@ti.com> | 2011-07-01 16:54:06 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-07-09 21:13:36 -0400 |
commit | 6652271a2556c086c04658dce16de2947e849ffd (patch) | |
tree | c7730a7770c448be6fa7e56cd9fb655c0fc5417f /arch/arm/mach-omap2/omap_hwmod.c | |
parent | 31f62866c578b3d47ef7810b336e9e193b90167f (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.c | 2 |
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 | } |