diff options
author | Johan Hovold <[email protected]> | 2022-12-14 14:16:14 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2023-01-06 14:14:48 +0100 |
commit | e6ec64f85237b48c071158617cfc954a30285fc7 (patch) | |
tree | 3ba1a586422984e3cc308b2b9860fd32d6051c17 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 44a29a4dab73411671e0b84817a5f07e291b1501 (diff) |
thermal/drivers/qcom: Fix set_trip_temp() deadlock
The set_trip_temp() callback is used when changing the trip temperature
through sysfs. As it is called with the thermal-zone-device lock held
it must not use thermal_zone_get_trip() directly or it will deadlock.
Fixes: 78c3e2429be8 ("thermal/drivers/qcom: Use generic thermal_zone_get_trip() function")
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions