]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00159796 [MX6]Cooling of cpufreq should consider governor type
authorAnson Huang <b20788@freescale.com>
Tue, 11 Oct 2011 12:15:21 +0000 (20:15 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:15 +0000 (08:33 +0200)
commit1a926bc4e69f16314f4eef109829af72db8db73c
tree6c6b6251da799a619315df0400bddce53977808f
parent9379e6a02e803f5c867afba6adb5cc6b94fffb3f
ENGR00159796 [MX6]Cooling of cpufreq should consider governor type

We need to consider governor type of cpufreq, previous
method is to change the cpufreq to the lower point, but
it would not work if the cpufreq governor is not userspace,
now we set the scaling max freq instead of cpu current freq,
this will make sure working for all the governor.

Signed-off-by: Anson Huang <b20788@freescale.com>
drivers/mxc/thermal/cooling.c