[PATCH] drm/amd/powerplay:clean up the residual mutex for smu_hw_init

Prike Liang Prike.Liang at amd.com
Mon Jun 24 09:38:08 UTC 2019


Change-Id: I1f071e465c97f70048df5b24466bc7e225833c7f
Signed-off-by: Prike Liang <Prike.Liang at amd.com>
---
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index edd1da6..0be2845 100644
--- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
@@ -1041,7 +1041,6 @@ static int smu_hw_init(void *handle)
 	return 0;
 
 failed:
-	mutex_unlock(&smu->mutex);
 	return ret;
 }
 
-- 
2.7.4



More information about the amd-gfx mailing list