clockdomain.c (a976c2951d8f376112361830aa7762beff83a205) clockdomain.c (1667393126d7c51fad8b3cb9d3798e8e0367e2ec)
1/*
2 * OMAP clockdomain support
3 *
4 * Copyright (C) 2013 Texas Instruments, Inc.
5 *
6 * Tero Kristo <t-kristo@ti.com>
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 124 unchanged lines hidden (view full) ---

133 int i;
134 unsigned int num_clks;
135
136 num_clks = of_clk_get_parent_count(node);
137
138 for (i = 0; i < num_clks; i++) {
139 clk = of_clk_get(node, i);
140 if (IS_ERR(clk)) {
1/*
2 * OMAP clockdomain support
3 *
4 * Copyright (C) 2013 Texas Instruments, Inc.
5 *
6 * Tero Kristo <t-kristo@ti.com>
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 124 unchanged lines hidden (view full) ---

133 int i;
134 unsigned int num_clks;
135
136 num_clks = of_clk_get_parent_count(node);
137
138 for (i = 0; i < num_clks; i++) {
139 clk = of_clk_get(node, i);
140 if (IS_ERR(clk)) {
141 pr_err("%s: Failed get %s' clock nr %d (%ld)\n",
142 __func__, node->full_name, i, PTR_ERR(clk));
141 pr_err("%s: Failed get %pOF' clock nr %d (%ld)\n",
142 __func__, node, i, PTR_ERR(clk));
143 continue;
144 }
145 clk_hw = __clk_get_hw(clk);
146 if (clk_hw_get_flags(clk_hw) & CLK_IS_BASIC) {
147 pr_warn("can't setup clkdm for basic clk %s\n",
148 __clk_get_name(clk));
149 continue;
150 }

--- 26 unchanged lines hidden ---
143 continue;
144 }
145 clk_hw = __clk_get_hw(clk);
146 if (clk_hw_get_flags(clk_hw) & CLK_IS_BASIC) {
147 pr_warn("can't setup clkdm for basic clk %s\n",
148 __clk_get_name(clk));
149 continue;
150 }

--- 26 unchanged lines hidden ---