]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-kernel/linux/linux-3.0/pm-wip/voltdm/0035-OMAP-hwmod-Add-warnings-if-enable-failed.patch
568b643969387a980ae13fa32318ff6250cb9a2c
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-3.0 / pm-wip / voltdm / 0035-OMAP-hwmod-Add-warnings-if-enable-failed.patch
1 From 41640a85e80636e7cec8dd2c1c346723c45d28bf Mon Sep 17 00:00:00 2001
2 From: Benoit Cousson <b-cousson@ti.com>
3 Date: Fri, 1 Jul 2011 22:54:06 +0200
4 Subject: [PATCH 035/149] OMAP: hwmod: Add warnings if enable failed
6 Change the debug into warning to check what IPs are failing.
8 Signed-off-by: Benoit Cousson <b-cousson@ti.com>
9 Cc: Rajendra Nayak <rnayak@ti.com>
10 Signed-off-by: Paul Walmsley <paul@pwsan.com>
11 ---
12  arch/arm/mach-omap2/omap_hwmod.c |    2 ++
13  1 files changed, 2 insertions(+), 0 deletions(-)
15 diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
16 index df91bb1..64e9830 100644
17 --- a/arch/arm/mach-omap2/omap_hwmod.c
18 +++ b/arch/arm/mach-omap2/omap_hwmod.c
19 @@ -944,6 +944,8 @@ static int _init_clocks(struct omap_hwmod *oh, void *data)
20  
21         if (!ret)
22                 oh->_state = _HWMOD_STATE_CLKS_INITED;
23 +       else
24 +               pr_warning("omap_hwmod: %s: cannot _init_clocks\n", oh->name);
25  
26         return ret;
27  }
28 -- 
29 1.6.6.1