Commit 812ce9d2 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Paul Walmsley

ARM: OMAP2+: hwmod: print error if wait_target_ready() failed

Fixed pr_debug to pr_err when hwmod returns an error when enabling
a module.
Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Acked-by: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent 8633fb30
......@@ -2155,7 +2155,7 @@ 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",
pr_err("omap_hwmod: %s: _wait_target_ready failed: %d\n",
oh->name, r);
if (oh->clkdm)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment