summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2012-03-13 15:09:29 +0800
committerZhang Jiejing <jiejing.zhang@freescale.com>2012-03-18 23:39:14 +0800
commit00ad172b303f67d197fbd9763d0561101d00760e (patch)
treeb63f32b1a05d59aac092d76b3ef07209ca2c3049
parent22b2f7f2e15627681f8a5d231552deed9f3b15c5 (diff)
ENGR00176629 [Thermal]Add 1.2G support
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>
-rw-r--r--drivers/mxc/thermal/cooling.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mxc/thermal/cooling.c b/drivers/mxc/thermal/cooling.c
index 5a92b527e1ec..772f771c8149 100644
--- a/drivers/mxc/thermal/cooling.c
+++ b/drivers/mxc/thermal/cooling.c
@@ -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 */