drm/amd/display: fix wrong statement in mst hpd debugfs
[why] Previous statement would always evaluate to true making it meaningless [how] Just check if a connector is MST by checking if its port exists. Fixes: 41efcd38 ("drm/amd/display: Add MST capability to trigger_hotplug interface") Reported-by: Nkernel test robot <lkp@intel.com> Signed-off-by: NMikita Lipski <mikita.lipski@amd.com> Reviewed-by: NNicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Acked-by: NWayne Lin <waynelin@amd.com> Tested-by: NDaniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录