]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Fix a missing check bug in radeon_dp_mst_detect()
authorYingjie Wang <wangyingjie55@126.com>
Wed, 7 Apr 2021 03:10:04 +0000 (20:10 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:58:23 +0000 (16:58 -0400)
commitcbbd228d292b2d5ed435dc468db7f120687d393c
tree7aee5a027d2bdc57f91e20cccf75746ddfc402eb
parent98e8cd67af050368f7376c5578ddb95b62b222ee
drm/radeon: Fix a missing check bug in radeon_dp_mst_detect()

In radeon_dp_mst_detect(), We should check whether or not @connector
has been unregistered from userspace. If the connector is unregistered,
we should return disconnected status.

Fixes: 241101f0add3 ("drm/radeon: add DisplayPort MST support (v2)")
Signed-off-by: Yingjie Wang <wangyingjie55@126.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_dp_mst.c