]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sh: clkfwk: fixup clk_rate_table_build parameter in div6 clock
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 14 Apr 2011 08:13:53 +0000 (17:13 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 00:32:30 +0000 (09:32 +0900)
commitdd04ac7182e11f77da6d12d2c3ff868c5bbedcd1
tree81ebe892fb149fe54a1a541b153b1c44e4d779bb
parentfa7e5a133b16147d942345d4dd73665a3d8d1bb2
sh: clkfwk: fixup clk_rate_table_build parameter in div6 clock

commit 52c10ad22b7e317960b4d411c9a9ddeaf3d5ae39 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 <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/sh/clk/cpg.c