summaryrefslogtreecommitdiff
path: root/drivers/thermal/clock_cooling.c
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2020-02-13 01:49:17 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-03-12 13:40:57 +0300
commit267c4d8d132c8646fc90a58d40e3117656a4e9b5 (patch)
treec2e5d9de298a0cb3962d8628280d74d60eccde06 /drivers/thermal/clock_cooling.c
parentd543c8424c116549c4322ff0341e388452aca0ea (diff)
downloadlinux-267c4d8d132c8646fc90a58d40e3117656a4e9b5.tar.xz
thermal: rcar_gen3_thermal: Generate interrupt when temperature changes
The desired behavior of the driver is to generate an interrupt and call thermal_zone_device_update() as soon as the temperature have changed more then one degree. When the set_trips operation was implemented it was believed that the trip window set by the framework would move around the current temperature and the hysteresis value described in devicetree. The behavior of the framework is however to set a window based on the trip points described in devicetree. Remove the set_trips operation which was not used correctly and update the temperatures that triggers interrupts directly from the interrupt handler. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200212224917.737314-1-niklas.soderlund+renesas@ragnatech.se
Diffstat (limited to 'drivers/thermal/clock_cooling.c')
0 files changed, 0 insertions, 0 deletions