mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event()
[ Upstream commit38ac4e8385] This error path needs to unlock the "aconnector->handle_mst_msg_ready" mutex before returning. Fixes:4f6d9e38c4("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5c58d120bf
commit
e139cc2974
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user