diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-01-16 13:19:54 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-01-16 15:05:24 +0300 |
commit | df715f26cb7b43e3fabb4518aa65931180de8a71 (patch) | |
tree | 3874519f2e48db364c629de7ea9d55c89e484bf4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3a908971f7cbee59c2cc07f6fc6fc02a32652a90 (diff) | |
download | linux-df715f26cb7b43e3fabb4518aa65931180de8a71.tar.xz |
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: Bjorn Andersson <andersson@kernel.org>
Acked-by: Amit Kucheria <amitk@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230116101955.3961427-1-daniel.lezcano@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions