Re: [PATCH] MIPS: loongson2: cpufreq: fix broken cpufreq

2013-07-12 Thread Viresh Kumar
On Fri, Jul 12, 2013 at 1:04 AM, Aaro Koskinen wrote: > Commit 42913c799 (MIPS: Loongson2: Use clk API instead of direct > dereferences) broke the cpufreq functionality on Loongson2 boards: > clk_set_rate() is called before the CPU frequency table is initialized, > and therefore will always fail.

Re: [PATCH] MIPS: loongson2: cpufreq: fix broken cpufreq

2013-07-12 Thread Viresh Kumar
On Fri, Jul 12, 2013 at 1:04 AM, Aaro Koskinen aaro.koski...@iki.fi wrote: Commit 42913c799 (MIPS: Loongson2: Use clk API instead of direct dereferences) broke the cpufreq functionality on Loongson2 boards: clk_set_rate() is called before the CPU frequency table is initialized, and therefore

[PATCH] MIPS: loongson2: cpufreq: fix broken cpufreq

2013-07-11 Thread Aaro Koskinen
Commit 42913c799 (MIPS: Loongson2: Use clk API instead of direct dereferences) broke the cpufreq functionality on Loongson2 boards: clk_set_rate() is called before the CPU frequency table is initialized, and therefore will always fail. Fix by moving the clk_set_rate() after the table

[PATCH] MIPS: loongson2: cpufreq: fix broken cpufreq

2013-07-11 Thread Aaro Koskinen
Commit 42913c799 (MIPS: Loongson2: Use clk API instead of direct dereferences) broke the cpufreq functionality on Loongson2 boards: clk_set_rate() is called before the CPU frequency table is initialized, and therefore will always fail. Fix by moving the clk_set_rate() after the table