summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-06-01 13:34:15 +0300
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-06-03 14:54:36 +0300
commitda81593a5a0d93fcca45baa15d0628ba8405695b (patch)
tree8451d5873d9884fdfa3f7c48bf7c7eddb2989af6 /arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c
parent40b0754c1b7260782acf1778b052d192520ad910 (diff)
downloadlinux-da81593a5a0d93fcca45baa15d0628ba8405695b.tar.xz
ARM: s3c24xx: Sort cpufreq tables
Some later changes in cpufreq core require these tables to be sorted based on ascending order of their frequencies. There was only one offender. Fix it and add comments over the arrays. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c')
-rw-r--r--arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c b/arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c
index b355fca6cc2e..a3fbfed75e28 100644
--- a/arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c
+++ b/arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c
@@ -20,6 +20,7 @@
#include <plat/cpu.h>
#include <plat/cpu-freq-core.h>
+/* This array should be sorted in ascending order of the frequencies */
static struct cpufreq_frequency_table s3c2440_plls_12[] = {
{ .frequency = 75000000, .driver_data = PLLVAL(0x75, 3, 3), }, /* FVco 600.000000 */
{ .frequency = 80000000, .driver_data = PLLVAL(0x98, 4, 3), }, /* FVco 640.000000 */