diff options
| author | 2020-01-27 13:47:41 -0500 | |
|---|---|---|
| committer | 2020-02-12 16:00:25 -0500 | |
| commit | 70bedd68e7b3a7f1d7f3198bb698fc23bc5aaa68 (patch) | |
| tree | 72171ccd808a887cb9782e4fee492d9558dbfbc6 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/display: Remove set but not unused variable 'stream_status' (diff) | |
| download | wireguard-linux-70bedd68e7b3a7f1d7f3198bb698fc23bc5aaa68.tar.xz wireguard-linux-70bedd68e7b3a7f1d7f3198bb698fc23bc5aaa68.zip | |
drm/amdgpu: Fix missing error check in suspend
amdgpu_device_suspend might return an error code since it can be called
from both runtime and system suspend flows. Add the missing return code
in case of a failure.
Reviewed-by: Oak Zeng <oak.zeng@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
