linux/drivers/thermal/tegra
Johan Hovold b0b5d063d6 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>
2023-01-06 14:14:48 +01:00
..
Kconfig thermal/drivers/tegra: Correct compile-testing of drivers 2021-08-14 12:24:06 +02:00
Makefile thermal/drivers/tegra: Add driver for Tegra30 thermal sensor 2021-08-14 12:23:39 +02:00
soctherm-fuse.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
soctherm.c thermal/drivers/tegra: Fix set_trip_temp() deadlock 2023-01-06 14:14:48 +01:00
soctherm.h thermal: tegra: add set_trips functionality 2019-05-13 20:35:33 -07:00
tegra30-tsensor.c thermal/drivers/tegra: Use generic thermal_zone_get_trip() function 2023-01-06 14:14:47 +01:00
tegra124-soctherm.c thermal: tegra: add set_trips functionality 2019-05-13 20:35:33 -07:00
tegra132-soctherm.c thermal: tegra: add set_trips functionality 2019-05-13 20:35:33 -07:00
tegra210-soctherm.c thermal: tegra: Make tegra210_tsensor_thermtrips static 2019-05-23 21:52:47 -07:00
tegra-bpmp-thermal.c firmware: tegra: bpmp: Use iosys-map helpers 2022-10-24 15:18:11 +02:00