diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-01-25 15:17:42 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-01-25 17:37:21 +0300 |
commit | acd7e9ee57c880b99671dd99680cb707b7b5b0ee (patch) | |
tree | 9cf952230cbb1e37cb2588d131fe40a86992b10b /Documentation/devicetree/bindings/mips/img | |
parent | 6757a7abe47bcb12cb2d45661067e182424b0ee3 (diff) | |
download | linux-acd7e9ee57c880b99671dd99680cb707b7b5b0ee.tar.xz |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/mips/img')
0 files changed, 0 insertions, 0 deletions