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

2013-08-06 Thread Rafael J. Wysocki
On Tuesday, August 06, 2013 04:40:12 PM Ralf Baechle wrote: > On Mon, Aug 05, 2013 at 09:27:12PM +0300, 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

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

2013-08-06 Thread Ralf Baechle
On Mon, Aug 05, 2013 at 09:27:12PM +0300, 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

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

2013-08-06 Thread Ralf Baechle
On Mon, Aug 05, 2013 at 09:27:12PM +0300, 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

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

2013-08-06 Thread Rafael J. Wysocki
On Tuesday, August 06, 2013 04:40:12 PM Ralf Baechle wrote: On Mon, Aug 05, 2013 at 09:27:12PM +0300, 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

[PATCH v2] cpufreq: loongson2: fix broken cpufreq

2013-08-05 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 v2] cpufreq: loongson2: fix broken cpufreq

2013-08-05 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