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>
|
||
|---|---|---|
| .. | ||
| int340x_thermal | ||
| intel_bxt_pmic_thermal.c | ||
| intel_hfi.c | ||
| intel_hfi.h | ||
| intel_menlow.c | ||
| intel_pch_thermal.c | ||
| intel_powerclamp.c | ||
| intel_quark_dts_thermal.c | ||
| intel_soc_dts_iosf.c | ||
| intel_soc_dts_iosf.h | ||
| intel_soc_dts_thermal.c | ||
| intel_tcc_cooling.c | ||
| Kconfig | ||
| Makefile | ||
| therm_throt.c | ||
| thermal_interrupt.h | ||
| x86_pkg_temp_thermal.c | ||