Merge branch 'sh/clkfwk' into sh-latest
authorPaul Mundt <lethal@linux-sh.org>
Tue, 24 Jan 2012 01:45:43 +0000 (10:45 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 Jan 2012 01:45:43 +0000 (10:45 +0900)
drivers/sh/clk/cpg.c

index 45fee36..92d314a 100644 (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;