diff options
| author | Rafael J. Wysocki <[email protected]> | 2024-04-30 15:45:55 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-04-30 19:16:13 +0000 |
| commit | 202aa0d4bb532338cd27bcc64c60abc2987a2be7 (patch) | |
| tree | 50275337d625cff8507556be3ac83a5cbc0dc886 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | thermal: trip: Add missing empty code line (diff) | |
| download | kernel-202aa0d4bb532338cd27bcc64c60abc2987a2be7.tar.gz kernel-202aa0d4bb532338cd27bcc64c60abc2987a2be7.zip | |
thermal: core: Do not call handle_thermal_trip() if zone temperature is invalid
Make __thermal_zone_device_update() bail out if update_temperature()
fails to update the zone temperature because __thermal_zone_get_temp()
has returned an error and the current zone temperature is
THERMAL_TEMP_INVALID (user space receiving netlink thermal messages,
thermal debug code and thermal governors may get confused otherwise).
Fixes: 9ad18043fb35 ("thermal: core: Send trip crossing notifications at init time if needed")
Signed-off-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Tested-by: Lukasz Luba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
