drm/amd/display: fix the broken logic in dc_link.c

Add missing braces.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Yifan Zhang 2020-04-03 17:11:14 +08:00 committed by Alex Deucher
parent 764a21cb08
commit 50dc581a8f

View File

@ -422,8 +422,9 @@ static enum signal_type link_detect_sink(struct dc_link *link,
*/
/* PCIE detects the actual connector on add-on board */
if (link->link_id.id == CONNECTOR_ID_PCIE)
if (link->link_id.id == CONNECTOR_ID_PCIE) {
/* ZAZTODO implement PCIE add-on card detection */
}
switch (link->link_id.id) {
case CONNECTOR_ID_HDMI_TYPE_A: {