Skip to content

Commit

Permalink
OMAP: hwmod: Add warnings if enable failed
Browse files Browse the repository at this point in the history
Change the debug into warning to check what IPs are failing.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
  • Loading branch information
Benoit Cousson authored and Paul Walmsley committed Jul 10, 2011
1 parent 31f6286 commit 6652271
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-omap2/omap_hwmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,8 @@ static int _init_clocks(struct omap_hwmod *oh, void *data)

if (!ret)
oh->_state = _HWMOD_STATE_CLKS_INITED;
else
pr_warning("omap_hwmod: %s: cannot _init_clocks\n", oh->name);

return ret;
}
Expand Down

0 comments on commit 6652271

Please sign in to comment.