summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/amd/display/amdgpu_dm
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-08-04 09:16:47 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-08-04 09:16:47 +0000
commit05524b370e9dcfd17ced6a53578900e31505e810 (patch)
tree3b737f1166c088b791fa088ec9633e524be46086 /sys/dev/pci/drm/amd/display/amdgpu_dm
parenteb7b6cf320fdc24454f5b1b29b0b112780dc57b5 (diff)
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
Diffstat (limited to 'sys/dev/pci/drm/amd/display/amdgpu_dm')
-rw-r--r--sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c2
1 files changed, 1 insertions, 1 deletions
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);