Files
linux/drivers
Aaro Koskinen 4b0be00599 cpufreq: loongson2: fix regression related to clock management
commit f54fe64d14 upstream.

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 initialization.
Tested on Lemote FuLoong mini-PC.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-14 22:59:06 -07:00
..
2013-05-17 14:31:05 -04:00
2013-08-11 18:35:21 -07:00
2013-07-28 16:30:11 -07:00
2013-05-20 13:38:14 -07:00
2013-05-15 10:58:22 -07:00
2013-08-11 18:35:21 -07:00
2013-06-05 08:54:16 -06:00