[GIT PULL] Thermal control fixes for v6.10-rc1
From: Rafael J. Wysocki
Date: Tue May 21 2024 - 05:34:04 EST
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-6.10-rc1-2
with top-most commit 8c69a777e480174b1fdd75dab5ad584454dd6555
thermal: core: Fix the handling of invalid trip points
on top of commit f952b6c863090464c148066df9f46cb3edd603da
Merge tag 'thermal-6.10-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
to receive thermal control fixes for 6.10-rc1.
These fix the MediaTek lvts_thermal driver and the handling of trip
points that start as invalid and are adjusted later by user space via
sysfs.
Specifics:
- Fix and clean up the MediaTek lvts_thermal driver (Julien Panis).
- Prevent invalid trip point handling from triggering spurious trip
point crossing events and allow passive polling to stop when a
passive trip point involved in it becomes invalid (Rafael Wysocki).
Thanks!
---------------
Julien Panis (3):
thermal/drivers/mediatek/lvts_thermal: Check NULL ptr on lvts_data
thermal/drivers/mediatek/lvts_thermal: Remove unused members
from struct lvts_ctrl_data
thermal/drivers/mediatek/lvts_thermal: Fix wrong lvts_ctrl index
Rafael J. Wysocki (1):
thermal: core: Fix the handling of invalid trip points
---------------
drivers/thermal/mediatek/lvts_thermal.c | 15 +++++++++------
drivers/thermal/thermal_core.c | 9 ++++++++-
drivers/thermal/thermal_trip.c | 18 ++++++++++++++++++
3 files changed, 35 insertions(+), 7 deletions(-)