Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)