]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 cbb908dc5cf0e09bec45ce7fbf7814936883d9fc..06157af892ce2b3048d53c0814e5f08038fde2f1 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);