diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 203cb9d0c89d0d1a0051fa16d8a67d91fcb6e643..70dc02cf4dbb21182745fc63e9f75d4e6baf6d74 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1787,7 +1787,7 @@ void dc_link_remove_remote_sink(const struct dc_link *link, const struct dc_sink dc_link->remote_sinks[i] = dc_link->remote_sinks[i+1]; i++; } - + dc_link->remote_sinks[i] = NULL; dc_link->sink_count--; return; }