thermal: bang-bang governor: act on lower trip boundary
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 20 May 2015 13:20:41 +0000 (15:20 +0200)
committerCaesar Wang <wxt@rock-chips.com>
Tue, 26 Apr 2016 02:36:08 +0000 (10:36 +0800)
commitdcdaad18587e3b4506f7eec4dc5003134ec90699
tree2b16474bcb448be5fa359e28339fb5ab2238d073
parent2aaa7c70972f5ecb4124ab0b880d794f088f4976
thermal: bang-bang governor: act on lower trip boundary

With interrupt driven thermal zones we pass the lower and upper temperature
on which shall be acted, so in the governor we have to act on the exact lower
temperature to be consistent. Otherwise an interrupt may be generated on the
exact lower temperature, but the bang bang governor does not react.

Change-Id: Ic9dd855b0767d34b15505c1ff12ea99b76cdcea7
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
drivers/thermal/gov_bang_bang.c