drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event()
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 21 Jul 2023 14:55:49 +0000 (17:55 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 20:23:51 +0000 (16:23 -0400)
commit38ac4e8385ffb275b1837986ca6c16f26ea028c5
treefb6cb2f785408fd8f81fd8ffb3ee71cbfad39bfe
parentde612738e9771bd66aeb20044486c457c512f684
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: 4f6d9e38c4d2 ("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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c