aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/kernel
diff options
context:
space:
mode:
authorRafael J. Wysocki2023-01-25 13:17:42 +0100
committerGreg Kroah-Hartman2023-02-01 08:34:48 +0100
commit76d130250a251ff8e77d092b4e62620fc35f963c (patch)
tree41c9b0dda164b3871f9c4def13c6f00002b2531d /arch/riscv/kernel
parenta8f2ee10718fc657cdc6a7a5e5ac6194eabeebbb (diff)
thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()
[ Upstream commit acd7e9ee57c880b99671dd99680cb707b7b5b0ee ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/riscv/kernel')
0 files changed, 0 insertions, 0 deletions