From: jsg Date: Fri, 4 Aug 2023 09:16:46 +0000 (+0000) Subject: drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4b2fb21b5b38f97d965dc2c12cb1737c8653ee9a;p=openbsd drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event() From Dan Carpenter e139cc2974b801f3f6e38efa047a7e3b7121fc8d in linux-6.1.y/6.1.43 38ac4e8385ffb275b1837986ca6c16f26ea028c5 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c index 05708684c9f..d07e1053b36 100644 --- a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +++ b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c @@ -677,7 +677,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);