Skip to content

Commit 38ac4e8

Browse files
Dan Carpenteralexdeucher
authored andcommitted
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: 4f6d9e3 ("drm/amd/display: Add polling method to handle MST reply packet") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent de61273 commit 38ac4e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ void dm_handle_mst_sideband_msg_ready_event(
706706

707707
if (retry == 3) {
708708
DRM_ERROR("Failed to ack MST event.\n");
709-
return;
709+
break;
710710
}
711711

712712
drm_dp_mst_hpd_irq_send_new_request(&aconnector->mst_mgr);

0 commit comments

Comments
 (0)