OSDN Git Service

ARM: OMAP2+: hwmod: print error if wait_target_ready() failed
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 19 Dec 2014 12:34:50 +0000 (18:04 +0530)
committerPaul Walmsley <paul@pwsan.com>
Wed, 21 Jan 2015 01:12:16 +0000 (18:12 -0700)
Fixed pr_debug to pr_err when hwmod returns an error when enabling
a module.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c

index cbb908d..06157af 100644 (file)
@@ -2155,8 +2155,8 @@ static int _enable(struct omap_hwmod *oh)
                if (soc_ops.disable_module)
                        soc_ops.disable_module(oh);
                _disable_clocks(oh);
-               pr_debug("omap_hwmod: %s: _wait_target_ready: %d\n",
-                        oh->name, r);
+               pr_err("omap_hwmod: %s: _wait_target_ready failed: %d\n",
+                      oh->name, r);
 
                if (oh->clkdm)
                        clkdm_hwmod_disable(oh->clkdm, oh);