浏览代码

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>
Benoit Cousson 14 年之前
父节点
当前提交
6652271a25
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/arm/mach-omap2/omap_hwmod.c

+ 2 - 0
arch/arm/mach-omap2/omap_hwmod.c

@@ -944,6 +944,8 @@ static int _init_clocks(struct omap_hwmod *oh, void *data)
 
 
 	if (!ret)
 	if (!ret)
 		oh->_state = _HWMOD_STATE_CLKS_INITED;
 		oh->_state = _HWMOD_STATE_CLKS_INITED;
+	else
+		pr_warning("omap_hwmod: %s: cannot _init_clocks\n", oh->name);
 
 
 	return ret;
 	return ret;
 }
 }