]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9205593ae453862ad4f98a06a1a8d452b4d31c08
tree4e80963b2a04a9ddbc3977ca66fd3acb74e22609
parent239bea99f45907d04135ef7b506467c1835f59f6
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