mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 02:19:54 -04:00
drm/amd/powerplay: stop thermal IRQs on suspend
Added missing thermal IRQs disablement on suspend. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1533,6 +1533,12 @@ static int smu_suspend(void *handle)
|
||||
|
||||
smu_i2c_eeprom_fini(smu, &adev->pm.smu_i2c);
|
||||
|
||||
ret = smu_stop_thermal_control(smu);
|
||||
if (ret) {
|
||||
pr_warn("Fail to stop thermal control!\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = smu_disable_dpm(smu);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user