]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
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>
Wed, 1 Jul 2020 05:59:26 +0000 (01:59 -0400)
commit8ef51b428e6d935736d5fa7427cc063b6bb5b08a
treecbf3c9f1d382570e38e3c98b97cdfe388ef2c12c
parentdc2f832ecb045dd43793531ae149e1767696f5ad
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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c