Skip to content

Commit

Permalink
sh: clkfwk: fixup clk_rate_table_build parameter in div6 clock
Browse files Browse the repository at this point in the history
commit 52c10ad upstream.

div6 clock should not use arch_flags for clk_rate_table_build,
because SH_CLK_DIV6_EXT doesn't care .arch_flags.
clk->freq_table[] will be all CPUFREQ_ENTRY_INVALID without this patch.

Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
morimoto authored and gregkh committed Jun 3, 2011
1 parent 80e0c7a commit 4e3ce1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sh/clk/cpg.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static int sh_clk_div6_set_parent(struct clk *clk, struct clk *parent)

/* Rebuild the frequency table */
clk_rate_table_build(clk, clk->freq_table, table->nr_divisors,
table, &clk->arch_flags);
table, NULL);

return 0;
}
Expand Down

0 comments on commit 4e3ce1d

Please sign in to comment.