aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
diff options
context:
space:
mode:
authorYongzhi Liu <lyz_cs@pku.edu.cn>2022-01-18 15:11:51 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-01-18 17:43:36 -0500
commit4bd8dd0d61f961e6c13cc118d4ebbdba57f8561f (patch)
tree026ef0e2b6fe0d0c302082bccdc5a333b75d4d7c /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
parent552b7cb0eed12c184b3bdfcc262e96a954a2bc86 (diff)
drm/amdgpu: Add missing pm_runtime_put_autosuspend
pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, thus a matching decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Yongzhi Liu <lyz_cs@pku.edu.cn> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions