diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 6c074f37cdd2..4fe3aadae732 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -769,8 +769,8 @@ static int _init_main_clk(struct omap_hwmod *oh) | |||
769 | 769 | ||
770 | oh->_clk = clk_get(NULL, oh->main_clk); | 770 | oh->_clk = clk_get(NULL, oh->main_clk); |
771 | if (IS_ERR(oh->_clk)) { | 771 | if (IS_ERR(oh->_clk)) { |
772 | pr_warning("omap_hwmod: %s: cannot clk_get main_clk %s\n", | 772 | pr_warn("omap_hwmod: %s: cannot clk_get main_clk %s\n", |
773 | oh->name, oh->main_clk); | 773 | oh->name, oh->main_clk); |
774 | return -EINVAL; | 774 | return -EINVAL; |
775 | } | 775 | } |
776 | /* | 776 | /* |
@@ -814,8 +814,8 @@ static int _init_interface_clks(struct omap_hwmod *oh) | |||
814 | 814 | ||
815 | c = clk_get(NULL, os->clk); | 815 | c = clk_get(NULL, os->clk); |
816 | if (IS_ERR(c)) { | 816 | if (IS_ERR(c)) { |
817 | pr_warning("omap_hwmod: %s: cannot clk_get interface_clk %s\n", | 817 | pr_warn("omap_hwmod: %s: cannot clk_get interface_clk %s\n", |
818 | oh->name, os->clk); | 818 | oh->name, os->clk); |
819 | ret = -EINVAL; | 819 | ret = -EINVAL; |
820 | continue; | 820 | continue; |
821 | } | 821 | } |
@@ -851,8 +851,8 @@ static int _init_opt_clks(struct omap_hwmod *oh) | |||
851 | for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) { | 851 | for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) { |
852 | c = clk_get(NULL, oc->clk); | 852 | c = clk_get(NULL, oc->clk); |
853 | if (IS_ERR(c)) { | 853 | if (IS_ERR(c)) { |
854 | pr_warning("omap_hwmod: %s: cannot clk_get opt_clk %s\n", | 854 | pr_warn("omap_hwmod: %s: cannot clk_get opt_clk %s\n", |
855 | oh->name, oc->clk); | 855 | oh->name, oc->clk); |
856 | ret = -EINVAL; | 856 | ret = -EINVAL; |
857 | continue; | 857 | continue; |
858 | } | 858 | } |
@@ -1576,7 +1576,7 @@ static int _init_clkdm(struct omap_hwmod *oh) | |||
1576 | 1576 | ||
1577 | oh->clkdm = clkdm_lookup(oh->clkdm_name); | 1577 | oh->clkdm = clkdm_lookup(oh->clkdm_name); |
1578 | if (!oh->clkdm) { | 1578 | if (!oh->clkdm) { |
1579 | pr_warning("omap_hwmod: %s: could not associate to clkdm %s\n", | 1579 | pr_warn("omap_hwmod: %s: could not associate to clkdm %s\n", |
1580 | oh->name, oh->clkdm_name); | 1580 | oh->name, oh->clkdm_name); |
1581 | return 0; | 1581 | return 0; |
1582 | } | 1582 | } |
@@ -1616,7 +1616,7 @@ static int _init_clocks(struct omap_hwmod *oh, void *data) | |||
1616 | if (!ret) | 1616 | if (!ret) |
1617 | oh->_state = _HWMOD_STATE_CLKS_INITED; | 1617 | oh->_state = _HWMOD_STATE_CLKS_INITED; |
1618 | else | 1618 | else |
1619 | pr_warning("omap_hwmod: %s: cannot _init_clocks\n", oh->name); | 1619 | pr_warn("omap_hwmod: %s: cannot _init_clocks\n", oh->name); |
1620 | 1620 | ||
1621 | return ret; | 1621 | return ret; |
1622 | } | 1622 | } |
@@ -1739,7 +1739,7 @@ static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) | |||
1739 | _disable_clocks(oh); | 1739 | _disable_clocks(oh); |
1740 | 1740 | ||
1741 | if (ret == -EBUSY) | 1741 | if (ret == -EBUSY) |
1742 | pr_warning("omap_hwmod: %s: failed to hardreset\n", oh->name); | 1742 | pr_warn("omap_hwmod: %s: failed to hardreset\n", oh->name); |
1743 | 1743 | ||
1744 | if (!ret) { | 1744 | if (!ret) { |
1745 | /* | 1745 | /* |
@@ -1953,8 +1953,8 @@ static int _ocp_softreset(struct omap_hwmod *oh) | |||
1953 | 1953 | ||
1954 | c = _wait_softreset_complete(oh); | 1954 | c = _wait_softreset_complete(oh); |
1955 | if (c == MAX_MODULE_SOFTRESET_WAIT) { | 1955 | if (c == MAX_MODULE_SOFTRESET_WAIT) { |
1956 | pr_warning("omap_hwmod: %s: softreset failed (waited %d usec)\n", | 1956 | pr_warn("omap_hwmod: %s: softreset failed (waited %d usec)\n", |
1957 | oh->name, MAX_MODULE_SOFTRESET_WAIT); | 1957 | oh->name, MAX_MODULE_SOFTRESET_WAIT); |
1958 | ret = -ETIMEDOUT; | 1958 | ret = -ETIMEDOUT; |
1959 | goto dis_opt_clks; | 1959 | goto dis_opt_clks; |
1960 | } else { | 1960 | } else { |
@@ -2614,8 +2614,8 @@ static int __init _setup_reset(struct omap_hwmod *oh) | |||
2614 | if (oh->rst_lines_cnt == 0) { | 2614 | if (oh->rst_lines_cnt == 0) { |
2615 | r = _enable(oh); | 2615 | r = _enable(oh); |
2616 | if (r) { | 2616 | if (r) { |
2617 | pr_warning("omap_hwmod: %s: cannot be enabled for reset (%d)\n", | 2617 | pr_warn("omap_hwmod: %s: cannot be enabled for reset (%d)\n", |
2618 | oh->name, oh->_state); | 2618 | oh->name, oh->_state); |
2619 | return -EINVAL; | 2619 | return -EINVAL; |
2620 | } | 2620 | } |
2621 | } | 2621 | } |