OSDN Git Service

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 17:41:55 +0000 (13:41 -0400)
commit8214b5b6f049235e7821d7a5918e29623da8b21d
tree3f61196c7a100bb4c0822c10c98e71c8ea6f477e
parent8549655acbc7d295c7a3940afa8f60c575600f5a
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: bb4fa525f327 ("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