diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-07-21 16:55:49 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-25 22:23:51 +0200 |
commit | 38ac4e8385ffb275b1837986ca6c16f26ea028c5 (patch) | |
tree | fb6cb2f785408fd8f81fd8ffb3ee71cbfad39bfe /drivers/gpu | |
parent | drm/amd/display: Exit idle optimizations before attempt to access PHY (diff) | |
download | linux-38ac4e8385ffb275b1837986ca6c16f26ea028c5.tar.xz linux-38ac4e8385ffb275b1837986ca6c16f26ea028c5.zip |
drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event()
This error path needs to unlock the "aconnector->handle_mst_msg_ready"
mutex before returning.
Fixes: 4f6d9e38c4d2 ("drm/amd/display: Add polling method to handle MST reply packet")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c index 888e80f498e9..9bc86deac9e8 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c @@ -706,7 +706,7 @@ void dm_handle_mst_sideband_msg_ready_event( if (retry == 3) { DRM_ERROR("Failed to ack MST event.\n"); - return; + break; } drm_dp_mst_hpd_irq_send_new_request(&aconnector->mst_mgr); |