drm/amd/display: Fix misleading indentation bug in link_encoder
authorHarry Wentland <harry.wentland@amd.com>
Wed, 4 Jan 2017 23:43:04 +0000 (18:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:08:37 +0000 (17:08 -0400)
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c

index cb5e5953b7ab180647f82598c981a34d675f6399..81144586995a69870df699c698e60891681768be 100644 (file)
@@ -1017,11 +1017,12 @@ bool dce110_link_encoder_construct(
        /* Override features with DCE-specific values */
        if (BP_RESULT_OK == bp_funcs->get_encoder_cap_info(
                        enc110->base.ctx->dc_bios, enc110->base.id,
-                       &bp_cap_info))
+                       &bp_cap_info)) {
                enc110->base.features.flags.bits.IS_HBR2_CAPABLE =
                                bp_cap_info.DP_HBR2_CAP;
                enc110->base.features.flags.bits.IS_HBR3_CAPABLE =
                                bp_cap_info.DP_HBR3_EN;
+       }
 
        return true;
 }