Skip to content
Commit df715f26 authored by Daniel Lezcano's avatar Daniel Lezcano
Browse files

thermal/drivers/qcom: Remove duplicate set next trip point interrupt code



The tsens driver reprogram the next trip points in the irq
handler. This function then call thermal_zone_device_update().

However, thermal_zone_device_update() calls thermal_zone_set_trips()
and from there it calls the backend 'set_trips' ops. This one in turn
reprogram the next trip points (low/high).

Consequently, the code setting the next trip points interrupt in the
interrupt handle is not needed and could be removed.

Reviewed-by: default avatarBjorn Andersson <andersson@kernel.org>
Acked-by: default avatarAmit Kucheria <amitk@kernel.org>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230116101955.3961427-1-daniel.lezcano@linaro.org
parent 3a908971
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment