[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0i4qvW-4=erNtMn=awuzHZM9YhUmuEuCiD9OOqNrA3Y4w@mail.gmail.com>
Date: Fri, 15 Sep 2023 20:31:21 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Linux PM <linux-pm@...r.kernel.org>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [GIT PULL] Thermal control updates for v6.6-rc2
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-6.6-rc2
with top-most commit fb2c10245f201278804a6f28e196e95436059d6d
thermal: core: Fix disabled trip point check in handle_thermal_trip()
on top of commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
Linux 6.6-rc1
to receive thermal control updates for 6.6-rc2.
These fix a thermal core breakage introduced by one of the recent
changes, amend those changes by adding 'const' to a new callback
argument and fix 2 memory leaks.
Specifics:
- Unbreak disabled trip point check in handle_thermal_trip() that may
cause it to skip enabled trip points (Rafael Wysocki).
- Add missing of_node_put() to of_find_trip_id() and
thermal_of_for_each_cooling_maps() that each break out of a
for_each_child_of_node() loop without dropping the reference to
the child object (Julia Lawall).
- Constify the recently added trip argument of the .get_trend() thermal
zone callback (Rafael Wysocki).
Thanks!
---------------
Julia Lawall (1):
thermal/of: add missing of_node_put()
Rafael J. Wysocki (2):
thermal: Constify the trip argument of the .get_trend() zone callback
thermal: core: Fix disabled trip point check in handle_thermal_trip()
---------------
drivers/acpi/thermal.c | 2 +-
drivers/thermal/thermal_core.c | 6 ++++--
drivers/thermal/thermal_of.c | 8 ++++++--
drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 3 ++-
include/linux/thermal.h | 4 ++--
5 files changed, 15 insertions(+), 8 deletions(-)
Powered by blists - more mailing lists