aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/samsung
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-12-04 09:41:45 +0530
committerEduardo Valentin <edubezval@gmail.com>2014-12-08 12:08:54 -0400
commitbec85d2e0c9f71cab57614ab05057840bb7c422f (patch)
tree9e26c644f199cb32bfd6a36ca3f4decf9eee3704 /drivers/thermal/samsung
parentthermal: db8500: pass cpu_present_mask to cpufreq_cooling_register() (diff)
downloadlinux-dev-bec85d2e0c9f71cab57614ab05057840bb7c422f.tar.xz
linux-dev-bec85d2e0c9f71cab57614ab05057840bb7c422f.zip
thermal: imx: pass cpu_present_mask to cpufreq_cooling_register()
cpufreq_cooling_register() expects mask of all the CPUs where frequency constraint is applicable. This platform has more than one CPU to which these constraints will apply and so passing mask of only CPU0 wouldn't be sufficient. Also, this platform has a single cluster of CPUs and the constraint applies to all CPUs. If CPU0 is hoplugged out then we may face strange BUGs as cpu_cooling framework isn't aware of any siblings sharing clock line. Fix it by passing cpu_present_mask to cpufreq_cooling_register(). Cc: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/samsung')
0 files changed, 0 insertions, 0 deletions