drm/amd/display: set NULL value during removal for remoteSink
authorLeon Elazar <leon.elazar@amd.com>
Mon, 10 Apr 2017 13:37:11 +0000 (09:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:23:32 +0000 (17:23 -0400)
commitb64875feb18a734739929e2af8a625b186bb6ec0
tree97f6645fdba1edbb2b6ca03078bbaf9350e46ac2
parentfb9611d2167d73b7a7af66edb30893d22de9382d
drm/amd/display: set NULL value during removal for remoteSink

In MST case during removal of remote sink its descriptor pointer wasn't freed corectly.

Signed-off-by: Leon Elazar <leon.elazar@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c