diff options
author | Mikita Lipski <[email protected]> | 2021-04-14 14:15:52 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-04-28 23:56:14 -0400 |
commit | 3cbae5abfa8ebc8bc2b445dbe392b6987cd15483 (patch) | |
tree | bab0d68d707992e256599c3b79dedefac404f2b5 /lib/mpi/mpi-sub-ui.c | |
parent | d7b4a6077ec38763a1f6fed2b2f6a0113028eea7 (diff) |
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: 41efcd3879b1df ("drm/amd/display: Add MST capability to trigger_hotplug interface")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Mikita Lipski <[email protected]>
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Wayne Lin <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions