Merge branch 'sh/clkfwk' into sh-latest

This commit is contained in:
Paul Mundt 2012-01-24 10:45:43 +09:00
commit 75ed4da481

View File

@ -190,7 +190,7 @@ static int __init sh_clk_init_parent(struct clk *clk)
return -EINVAL;
}
clk->parent = clk->parent_table[val];
clk_reparent(clk, clk->parent_table[val]);
if (!clk->parent) {
pr_err("sh_clk_init_parent: unable to set parent");
return -EINVAL;