disp: msm: dp: clear link info capabilities during DP disconnect
This change clears all link info capabilities as a part of panel deinitialisation during a disconnect sequence. Without this change, the link info capabilities like the CRC flag will be retained for the next hotplugged device. Now if, a MST is connected after a SST connection, the base panel will have the CRC value of the previous sink, which will be invalid for the case when the hub doesn't support CRC. Change-Id: I3a820070fd5006a707328b4d192893a465c04448 Signed-off-by: Soutrik Mukhopadhyay <quic_mukhopad@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
68e4c1a426
commit
0883cdf7be
@@ -2388,6 +2388,9 @@ static int dp_panel_deinit_panel_info(struct dp_panel *dp_panel, u32 flags)
|
|||||||
shdr_if_sdp = &panel->catalog->shdr_if_sdp;
|
shdr_if_sdp = &panel->catalog->shdr_if_sdp;
|
||||||
vsc_colorimetry = &panel->catalog->vsc_colorimetry;
|
vsc_colorimetry = &panel->catalog->vsc_colorimetry;
|
||||||
|
|
||||||
|
/*clearing LINK INFO capabilities during disconnect*/
|
||||||
|
dp_panel->link_info.capabilities = 0;
|
||||||
|
|
||||||
if (dp_panel->edid_ctrl->edid)
|
if (dp_panel->edid_ctrl->edid)
|
||||||
sde_free_edid((void **)&dp_panel->edid_ctrl);
|
sde_free_edid((void **)&dp_panel->edid_ctrl);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user