OSDN Git Service

drm/amd/display: Fix indentation in create_eml_sink()
authorTom St Denis <tom.stdenis@amd.com>
Tue, 17 Oct 2017 14:15:12 +0000 (10:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:53:32 +0000 (16:53 -0400)
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Acked-by: Andrey Grodzovsky <andey.grodzovsky@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index 3f40597..ce975ae 100644 (file)
@@ -2720,8 +2720,7 @@ static void create_eml_sink(struct amdgpu_dm_connector *aconnector)
                (edid->extensions + 1) * EDID_LENGTH,
                &init_params);
 
-       if (aconnector->base.force
-                                       == DRM_FORCE_ON)
+       if (aconnector->base.force == DRM_FORCE_ON)
                aconnector->dc_sink = aconnector->dc_link->local_sink ?
                aconnector->dc_link->local_sink :
                aconnector->dc_em_sink;