]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: unlock mutex on error
authorDennis Li <Dennis.Li@amd.com>
Tue, 4 Aug 2020 04:32:13 +0000 (12:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Aug 2020 21:31:26 +0000 (17:31 -0400)
commit5853cd8b223daa8aacc73fb37c81fdc1fb778d19
tree56b6582786f13a378395cab910427f411dc37937
parenta7499afced4ca9ae8a2a4553e492812a2ff73b04
drm/amdgpu: unlock mutex on error

Make sure to unlock the mutex when error happen

v2:
1. correct syntax error in the commit comments
2. remove change-Id

Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Dennis Li <Dennis.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c