summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2012-03-13 15:09:29 +0800
committerJustin Waters <justin.waters@timesys.com>2012-07-03 16:57:40 -0400
commit4331eb381effd1a121d8728fdb49903d90e53ece (patch)
treea3cbd50ea3f22835c6b778e2e6e7408293341f57 /drivers
parent7fd87e5653d843543837a9ffbf7baa343afd4a76 (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>
Diffstat (limited to 'drivers')
-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 */