|
@@ -77,13 +77,11 @@ static int dra7_apll_enable(struct clk_hw *hw)
|
|
if (i == MAX_APLL_WAIT_TRIES) {
|
|
if (i == MAX_APLL_WAIT_TRIES) {
|
|
pr_warn("clock: %s failed transition to '%s'\n",
|
|
pr_warn("clock: %s failed transition to '%s'\n",
|
|
clk_name, (state) ? "locked" : "bypassed");
|
|
clk_name, (state) ? "locked" : "bypassed");
|
|
- } else {
|
|
|
|
|
|
+ r = -EBUSY;
|
|
|
|
+ } else
|
|
pr_debug("clock: %s transition to '%s' in %d loops\n",
|
|
pr_debug("clock: %s transition to '%s' in %d loops\n",
|
|
clk_name, (state) ? "locked" : "bypassed", i);
|
|
clk_name, (state) ? "locked" : "bypassed", i);
|
|
|
|
|
|
- r = 0;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
return r;
|
|
return r;
|
|
}
|
|
}
|
|
|
|
|