diff options
author | Victor Zhao <Victor.Zhao@amd.com> | 2021-04-27 17:52:56 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-10 18:06:42 -0400 |
commit | db7f1e0140e83be6cb4179fc28074cd3c4f1225f (patch) | |
tree | a06e21ff74dc7d0e2eb2413c8e494e52a9d5a8bd /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 0e0036c7d13b945260ff1ce8377eca7ea877c008 (diff) | |
download | linux-db7f1e0140e83be6cb4179fc28074cd3c4f1225f.tar.gz linux-db7f1e0140e83be6cb4179fc28074cd3c4f1225f.tar.bz2 linux-db7f1e0140e83be6cb4179fc28074cd3c4f1225f.zip |
drm/amdgpu: fix r initial values
Sriov gets suspend of IP block <dce_virtual> failed as return
value was not initialized.
v2: return 0 directly to align original code semantic before this
was broken out into a separate helper function instead of setting
initial values
Signed-off-by: Victor Zhao <Victor.Zhao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions