summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/qcom
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2022-12-14 14:16:16 +0100
committerDaniel Lezcano <daniel.lezcano@kernel.org>2023-01-06 14:14:48 +0100
commitb0b5d063d66e85c24c32bf169fe4879bf08ea580 (patch)
tree55a1ddb903395ae2c3fd1240c54b08937b0fbe41 /drivers/thermal/qcom
parente6ec64f85237b48c071158617cfc954a30285fc7 (diff)
downloadlinux-stable-b0b5d063d66e85c24c32bf169fe4879bf08ea580.tar.gz
linux-stable-b0b5d063d66e85c24c32bf169fe4879bf08ea580.tar.bz2
linux-stable-b0b5d063d66e85c24c32bf169fe4879bf08ea580.zip
thermal/drivers/tegra: 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: 56d7b397cc29 ("thermal/drivers/tegra: Use generic thermal_zone_get_trip() function") Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20221214131617.2447-4-johan+linaro@kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Diffstat (limited to 'drivers/thermal/qcom')
0 files changed, 0 insertions, 0 deletions