Thread (3 messages) 3 messages, 3 authors, 2013-08-06

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

From: Ralf Baechle <hidden>
Date: 2013-08-06 14:40:31
Also in: linux-pm, lkml, stable

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 fail.

Fix by moving the clk_set_rate() after the table initialization.
Tested on Lemote FuLoong mini-PC.
Seems to make sense.

Rafael or Virish, this should go to Linus for 3.11.  Do you want to funnel
this through the cpufreq tree or shall I send this to Linus with the
next batch of MIPS stuff?

  Ralf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help