linux-stable/drivers/thermal/int340x_thermal
Rafael J. Wysocki 6a73a0e3ed thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()
commit acd7e9ee57 upstream.

In order to prevent int340x_thermal_get_trip_type() from possibly
racing with int340x_thermal_read_trips() invoked by int3403_notify()
add locking to it in analogy with int340x_thermal_get_trip_temp().

Fixes: 6757a7abe4 ("thermal: intel: int340x: Protect trip temperature from concurrent updates")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-22 12:47:16 +01:00
..
acpi_thermal_rel.c
acpi_thermal_rel.h
int340x_thermal_zone.c thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type() 2023-02-22 12:47:16 +01:00
int340x_thermal_zone.h thermal: intel: int340x: Protect trip temperature from concurrent updates 2023-02-22 12:47:14 +01:00
int3400_thermal.c
int3402_thermal.c
int3403_thermal.c
int3406_thermal.c
Kconfig
Makefile
processor_thermal_device.c