Rafael J. Wysocki acd7e9ee57 thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()
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: 6757a7abe47b ("thermal: intel: int340x: Protect trip temperature from concurrent updates")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-01-25 15:37:21 +01:00
..
2022-12-13 15:22:14 -08:00
2023-01-14 07:38:48 +09:00
2023-01-20 12:44:41 -08:00
2022-12-16 03:49:24 -08:00
2023-01-12 17:02:20 -06:00
2022-12-19 07:13:33 -06:00
2023-01-12 05:56:06 -06:00
2022-12-08 13:03:47 -08:00
2022-12-16 03:49:24 -08:00
2023-01-18 14:44:32 -08:00
2022-12-13 15:47:48 -08:00
2022-12-13 13:09:38 -08:00
2022-12-11 21:25:58 +01:00
2022-12-16 03:49:24 -08:00
2023-01-12 17:02:20 -06:00
2022-12-21 09:19:24 -08:00
2023-01-20 12:44:41 -08:00
2023-01-13 17:32:22 -06:00
2022-12-13 15:47:48 -08:00
2022-12-21 09:41:28 -08:00
2022-12-21 09:19:24 -08:00
2023-01-06 13:12:42 -08:00
2023-01-14 07:57:25 -06:00
2023-01-10 23:09:09 +01:00
2022-12-19 08:47:33 -06:00
2022-12-14 08:58:51 -08:00
2022-12-12 10:17:08 -08:00
2023-01-21 11:12:42 -08:00
2023-01-21 11:10:03 -08:00
2022-12-16 03:54:54 -08:00
2023-01-12 17:02:20 -06:00
2022-12-16 03:49:24 -08:00
2022-12-17 08:34:01 -06:00
2023-01-12 17:02:20 -06:00