diff options
author | Javi Merino <javi.merino@arm.com> | 2014-09-23 17:30:25 +0530 |
---|---|---|
committer | Sanjay Singh Rawat <sanjay.rawat@linaro.org> | 2014-09-24 11:12:19 +0530 |
commit | 8849f0099f4ddcab18bad7f97b37122f9bf9a093 (patch) | |
tree | 1f83b8191f0d0ca47eb494cea892ec5b05ea3895 | |
parent | afd155753332ebb41f81e881f1da91b3bec5c4c7 (diff) |
thermal: fix typo
check_scaling_freq() always passes due to a typo since it was
introduced in aa119586f05a (Verify the cpufreq cooling device are
clipping the frequencies). Fix the typo.
Signed-off-by: Javi Merino <javi.merino@arm.com>
Acked-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
-rw-r--r-- | include/thermal_functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/thermal_functions.sh b/include/thermal_functions.sh index 4fbd4b7..eaf378b 100644 --- a/include/thermal_functions.sh +++ b/include/thermal_functions.sh @@ -185,7 +185,7 @@ check_scaling_freq() { local flag=0 for cpu in $cpus; do - if [ $before_freq_list[$index] -ne $afterf_req_list[$index] ] ; then + if [ $before_freq_list[$index] -ne $after_freq_list[$index] ] ; then flag=1 fi index=$((index + 1)) |