Commit 50dc581a authored by Yifan Zhang's avatar Yifan Zhang Committed by Alex Deucher

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

Add missing braces.
Signed-off-by: default avatarYifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 764a21cb
...@@ -422,8 +422,9 @@ static enum signal_type link_detect_sink(struct dc_link *link, ...@@ -422,8 +422,9 @@ static enum signal_type link_detect_sink(struct dc_link *link,
*/ */
/* PCIE detects the actual connector on add-on board */ /* 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 */ /* ZAZTODO implement PCIE add-on card detection */
}
switch (link->link_id.id) { switch (link->link_id.id) {
case CONNECTOR_ID_HDMI_TYPE_A: { case CONNECTOR_ID_HDMI_TYPE_A: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment