Files
linux/drivers/acpi
Rafael J. Wysocki 2713b83cb3 ACPI: thermal: Mark uninitialized active trips as invalid
After removing the valid flag from struct acpi_thermal_trip, the trip
temperature value is used in validity checks, so it must be
THERMAL_TEMP_INVALID for the active trip entries in struct acpi_thermal_trips
that are not going to be used (because the corresponding objects are not
present in the ACPI tables, for example).

Accordingly, modify acpi_thermal_get_trip_points() to set the temperature
value to THERMAL_TEMP_INVALID for trip point entries skipped by it after
acpi_thermal_init_trip() has returned 'false' for an active trip.

Fixes: 058f5e407d ("ACPI: thermal: Drop valid flag from struct acpi_thermal_trip")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-09-28 19:06:36 +02:00
..
2023-08-25 20:55:47 +02:00
2023-08-25 20:40:50 +02:00
2023-06-27 17:06:51 +02:00
2022-05-25 15:37:07 +02:00
2022-11-10 20:21:35 +01:00
2023-03-27 20:50:28 +02:00
2022-10-03 20:09:22 +02:00