drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event()
authorjsg <jsg@openbsd.org>
Fri, 4 Aug 2023 09:16:46 +0000 (09:16 +0000)
committerjsg <jsg@openbsd.org>
Fri, 4 Aug 2023 09:16:46 +0000 (09:16 +0000)
From Dan Carpenter
e139cc2974b801f3f6e38efa047a7e3b7121fc8d in linux-6.1.y/6.1.43
38ac4e8385ffb275b1837986ca6c16f26ea028c5 in mainline linux

sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c

index 0570868..d07e105 100644 (file)
@@ -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);