[Top] [All Lists]

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

To: Aaro Koskinen <>
Subject: Re: [PATCH v2] cpufreq: loongson2: fix broken cpufreq
From: Ralf Baechle <>
Date: Tue, 6 Aug 2013 16:40:12 +0200
Cc: "Rafael J. Wysocki" <>, Viresh Kumar <>,,,,, Julia Lawall <>,
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.21 (2010-09-15)
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?


<Prev in Thread] Current Thread [Next in Thread>