Browse Source

Merge branch 'sh/clkfwk' into sh-latest

Paul Mundt 13 years ago
parent
commit
75ed4da481
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/sh/clk/cpg.c

+ 1 - 1
drivers/sh/clk/cpg.c

@@ -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;