]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: thermal: Execute _SCP before reading trip points
authorArmin Wolf <W_Armin@gmx.de>
Thu, 10 Apr 2025 16:54:55 +0000 (18:54 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 May 2025 13:53:26 +0000 (15:53 +0200)
commit3f7cd28ae3d1a1d6f151178469cfaef1b07fdbcc
treee317d99388d41890a83e4c336aada5befe9e4d75
parent8cf4fdac9bdead7bca15fc56fdecdf78d11c3ec6
ACPI: thermal: Execute _SCP before reading trip points

As specified in section 11.4.13 of the ACPI specification the
operating system is required to evaluate the _ACx and _PSV objects
after executing the _SCP control method.

Move the execution of the _SCP control method before the invocation
of acpi_thermal_get_trip_points() to avoid missing updates to the
_ACx and _PSV objects.

Fixes: b09872a652d3 ("ACPI: thermal: Fold acpi_thermal_get_info() into its caller")
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/20250410165456.4173-3-W_Armin@gmx.de
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/thermal.c