diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-04 22:26:12 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-22 13:07:33 +0300 |
commit | 1dae3e70b473adc32f81ca1be926440f9b1de9dc (patch) | |
tree | 248870db6d3639ee0c130a3b981ddd1f744799bf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d07700b474d38ea4b1130e37d28379fc202054fa (diff) | |
download | linux-1dae3e70b473adc32f81ca1be926440f9b1de9dc.tar.xz |
thermal: core: Mark thermal zones as exiting before unregistration
In analogy with a previous change in the thermal zone registration code
path, to ensure that __thermal_zone_device_update() will return early
for thermal zones that are going away, introduce a thermal zone state
flag representing the "exit" state and set it while deleting the thermal
zone from thermal_tz_list.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/4394176.ejJDZkT8p0@rjwysocki.net
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions