drm/amdgpu/display: Unlock mutex on error
authorJohn van der Kamp <sjonny@suffe.me.uk>
Tue, 23 Jun 2020 21:30:54 +0000 (23:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jun 2020 22:08:21 +0000 (18:08 -0400)
commitee434a4f9f5ea15b0f84bddd8c012838cf9472c5
tree4e80963b2a04a9ddbc3977ca66fd3acb74e22609
parent48778464bb7d346b47157d21ffde2af6b2d39110
drm/amdgpu/display: Unlock mutex on error

Make sure we pass through ret label to unlock the mutex.

Signed-off-by: John van der Kamp <sjonny@suffe.me.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c