Skip to content
Commit e6ec64f8 authored by Johan Hovold's avatar Johan Hovold Committed by Daniel Lezcano
Browse files

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: default avatarJohan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221214131617.2447-2-johan+linaro@kernel.org


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@kernel.org>
parent 44a29a4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment