]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00176629 [Thermal]Add 1.2G support
authorAnson Huang <b20788@freescale.com>
Tue, 13 Mar 2012 07:09:29 +0000 (15:09 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:11 +0000 (14:11 +0200)
Fix bug of saving previous cpufreq not support
up to 1.2G freq. Max length set to 7 instead of 6.

Signed-off-by: Anson Huang <b20788@freescale.com>
drivers/mxc/thermal/cooling.c

index 5a92b527e1ec6b99d323b9187951f2b60ed4d95c..772f771c8149af1613854945ef264453f535f00e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. All Rights Reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@
 
 #define        CPUx            "/sys/devices/system/cpu/cpu"
 #define MAX_GOVERNOR_NAME_LEN 12
-#define MAX_CPU_FREQ_LEN 6
+#define MAX_CPU_FREQ_LEN 7
 #define MAX_CPU_ONLINE_LEN 1
 
 /* Save the last hot point trigger temperature */