mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
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: Lokesh Vutla <lokeshvutla@ti.com> Acked-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
parent
8633fb30aa
commit
812ce9d282
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user