summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-01-25 13:17:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-01 08:23:25 +0100
commite9c1b1e1a00b0c668212792d263951a7f3d1ee60 (patch)
tree8a971e78fbe3c92fb15e65eb8f5b1232b2384ed1 /sound
parent3af20f63212d04ad68e370ac17603829b3121362 (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 'sound')
0 files changed, 0 insertions, 0 deletions