diff mbox

powernow-k6: support 350MHz cpu

Message ID alpine.LRH.2.02.1407091717460.6236@file01.intranet.prod.int.rdu2.redhat.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Mikulas Patocka July 9, 2014, 9:19 p.m. UTC
There exists 350MHz K6-2E+ cpu, so add it to the usual frequency table.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org

---
 drivers/cpufreq/powernow-k6.c |    1 +
 1 file changed, 1 insertion(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Viresh Kumar July 10, 2014, 2:56 a.m. UTC | #1
On 10 July 2014 02:49, Mikulas Patocka <mpatocka@redhat.com> wrote:
> There exists 350MHz K6-2E+ cpu, so add it to the usual frequency table.
>
> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
> Cc: stable@vger.kernel.org
>
> ---
>  drivers/cpufreq/powernow-k6.c |    1 +
>  1 file changed, 1 insertion(+)
>
> Index: linux-3.16-rc4/drivers/cpufreq/powernow-k6.c
> ===================================================================
> --- linux-3.16-rc4.orig/drivers/cpufreq/powernow-k6.c   2014-07-09 15:15:29.000000000 +0200
> +++ linux-3.16-rc4/drivers/cpufreq/powernow-k6.c        2014-07-09 15:15:44.000000000 +0200
> @@ -55,6 +55,7 @@ static const struct {
>         unsigned freq;
>         unsigned mult;
>  } usual_frequency_table[] = {
> +       { 350000, 35 }, // 100   * 3.5
>         { 400000, 40 }, // 100   * 4
>         { 450000, 45 }, // 100   * 4.5
>         { 475000, 50 }, //  95   * 5

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

Index: linux-3.16-rc4/drivers/cpufreq/powernow-k6.c
===================================================================
--- linux-3.16-rc4.orig/drivers/cpufreq/powernow-k6.c	2014-07-09 15:15:29.000000000 +0200
+++ linux-3.16-rc4/drivers/cpufreq/powernow-k6.c	2014-07-09 15:15:44.000000000 +0200
@@ -55,6 +55,7 @@  static const struct {
 	unsigned freq;
 	unsigned mult;
 } usual_frequency_table[] = {
+	{ 350000, 35 },	// 100   * 3.5
 	{ 400000, 40 },	// 100   * 4
 	{ 450000, 45 }, // 100   * 4.5
 	{ 475000, 50 }, //  95   * 5