diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2013-08-05 22:27:12 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-08 00:25:06 +0400 |
commit | f54fe64d14dff3df6d45a48115d248a82557811f (patch) | |
tree | a0115b281230dbb0a1c3d50e95b81c64264e63c9 /drivers/Makefile | |
parent | c095ba7224d8edc71dcef0d655911399a8bd4a3f (diff) | |
download | linux-f54fe64d14dff3df6d45a48115d248a82557811f.tar.xz |
cpufreq: loongson2: fix regression related to clock management
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>
Cc: 3.9+ <stable@vger.kernel.org> # 3.9+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions