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)
commit25315ebfaefcffd126a266116b37bb8a3d1c4620
tree7aee5a027d2bdc57f91e20cccf75746ddfc402eb
parenta3fe0e334f319072746c472185be94a4d5f1a772
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: 9843ead08f18 ("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