[PATCH 11/13] drm/amd/display: Fix brace style in amdgpu_dm_connector_ddc_get_modes()
Tom St Denis
tom.stdenis at amd.com
Tue Oct 17 16:19:10 UTC 2017
Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index b4454937b4d4..89479eb99d1e 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -3409,8 +3409,9 @@ static void amdgpu_dm_connector_ddc_get_modes(struct drm_connector *connector,
drm_edid_to_eld(connector, edid);
amdgpu_dm_get_native_mode(connector);
- } else
+ } else {
amdgpu_dm_connector->num_modes = 0;
+ }
}
static int amdgpu_dm_connector_get_modes(struct drm_connector *connector)
--
2.12.0
More information about the amd-gfx
mailing list