From: Durgadoss R Date: Fri, 21 Sep 2012 06:36:04 +0000 (+0530) Subject: Thermal: Introduce a step_wise thermal governor X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~60^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e151a202a084f9f4310d1aa4398325c56ca95fda;p=pandora-kernel.git Thermal: Introduce a step_wise thermal governor This patch adds a simple step_wise governor to the generic thermal layer. This algorithm throttles the cooling devices in a linear fashion. If the 'trend' is heating, it throttles by one step. And if the thermal trend is cooling it de-throttles by one step. This actually moves the throttling logic from thermal_sys.c and puts inside step_wise.c, without any change. Signed-off-by: Durgadoss R Signed-off-by: Zhang Rui --- Reading git-diff-tree failed