]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
thermal: step_wise: Revert optimization
authorJean Delvare <jdelvare@suse.de>
Mon, 20 Apr 2015 09:21:13 +0000 (11:21 +0200)
committerJiri Slaby <jslaby@suse.cz>
Wed, 3 Jun 2015 09:33:13 +0000 (11:33 +0200)
commitbca746037a308e2fbe742248d34635f07be2bfd9
tree53b2ddcacbea735d04aa234d1e5baea7f5ab594a
parentd07438719e3e56dc710695c4fe0ec93f6b8de8bc
thermal: step_wise: Revert optimization

Commit 178c2490b99f898efc06d1ad75cadc84f13021a6 ("thermal: step_wise:
cdev only needs update on a new target state") broke driver acerhdf.
That driver abused the step_wise thermal governor until the bang_bang
governor was available, and the optimization broke this usage model.

Kernels v3.12 to v3.18 are affected. In v3.19 the acerhdf driver was
switched to the bang_bang governor and that solved the problem.

For kernels v3.12 to v3.17, the bang_bang governor isn't available
yet so the easiest fix is to revert the optimization.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reported-by: Dieter Jurzitza (https://bugzilla.opensuse.org/show_bug.cgi?id=925961)
Tested-by: Peter Feuerer <peter@piie.net>
Tested-by: Dieter Jurzitza
drivers/thermal/step_wise.c