aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2022-08-05 17:38:30 +0200
committerDaniel Lezcano <[email protected]>2022-08-17 14:09:39 +0200
commit9662756a9a1c34b3ee606dcddfda6a457f89b07f (patch)
treee9a005d99118da0f0bd28d5a47e7ef95444914c3 /scripts/gdb/linux/modules.py
parente920209847c396ca243259160b7d10d0dae17b35 (diff)
thermal/core: Rearm the monitoring only one time
The current code calls monitor_thermal_zone() inside the handle_thermal_trip() function. But this one is called in a loop for each trip point which means the monitoring is rearmed several times for nothing (assuming there could be several passive and active trip points). Move the monitor_thermal_zone() function out of the handle_thermal_trip() function and after the thermal trip loop, so the timer will be disabled or rearmed one time. Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions