[GIT PULL] Thermal control updates for v6.6-rc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux