summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-11-13 14:11:09 -0400
committerZhang Rui <rui.zhang@intel.com>2014-01-02 11:54:14 +0800
commit1c9573a40c1d34494419f32560f28c763c504d79 (patch)
treeab8727f4e9452628a579ecea3dc560ebd1110d1c /CREDITS
parent06475b556cb4863cf1dcace9b2d21dac1fc74daf (diff)
downloadlinux-1c9573a40c1d34494419f32560f28c763c504d79.tar.bz2
thermal: fix cpu_cooling max_level behavior
As per Documentation/thermal/sysfs-api.txt, max_level is an index, not a counter. Thus, in case a CPU has 3 valid frequencies, max_level is expected to be 2, for instance. The current code makes max_level == number of valid frequencies, which is bogus. This patch fix the cpu_cooling device by ranging max_level properly. Reported-by: Carlos Hernandez <ceh@ti.com> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions