diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-04-14 04:13:53 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-04-18 05:33:31 -0400 |
commit | 52c10ad22b7e317960b4d411c9a9ddeaf3d5ae39 (patch) | |
tree | df481339b6c1e524f7e5a8bcc655c4cc0de9920c /drivers/sh | |
parent | a1b49cb7e2a7961ec3aa8b64860bf480d4ec9077 (diff) |
sh: clkfwk: fixup clk_rate_table_build parameter in div6 clock
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 <kuninori.morimoto.gx@renesas.com>
Cc: stable@kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r-- | drivers/sh/clk/cpg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/clk/cpg.c b/drivers/sh/clk/cpg.c index 6172335ae323..82dd6fb17838 100644 --- a/drivers/sh/clk/cpg.c +++ b/drivers/sh/clk/cpg.c | |||
@@ -105,7 +105,7 @@ static int sh_clk_div6_set_parent(struct clk *clk, struct clk *parent) | |||
105 | 105 | ||
106 | /* Rebuild the frequency table */ | 106 | /* Rebuild the frequency table */ |
107 | clk_rate_table_build(clk, clk->freq_table, table->nr_divisors, | 107 | clk_rate_table_build(clk, clk->freq_table, table->nr_divisors, |
108 | table, &clk->arch_flags); | 108 | table, NULL); |
109 | 109 | ||
110 | return 0; | 110 | return 0; |
111 | } | 111 | } |