aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-02-06 10:07:20 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-02-06 10:07:20 -0500
commitc62bac00cb7fe8634aee4da33729af8ef372e092 (patch)
treee005efd2ff2551364d015db0da3915200fe1b292
parentecore-drm2: Reduce duplicated code (diff)
downloadefl-c62bac00cb7fe8634aee4da33729af8ef372e092.tar.gz
ecore-drm2: Minor formatting fixes.
NB: No functional changes
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index a28e1a3395..557e33f5ab 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1344,8 +1344,8 @@ ecore_drm2_output_mode_set(Ecore_Drm2_Output *output, Ecore_Drm2_Output_Mode *mo
else
buffer = output->ocrtc->buffer_id;
- if (sym_drmModeSetCrtc(output->fd, output->crtc_id, buffer,
- 0, 0, &output->conn_id, 1, &mode->info) < 0)
+ if (sym_drmModeSetCrtc(output->fd, output->crtc_id, buffer, 0, 0,
+ &output->conn_id, 1, &mode->info) < 0)
{
ERR("Failed to set Mode %dx%d for Output %s: %m",
mode->width, mode->height, output->name);
@@ -1548,8 +1548,7 @@ ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation)
pstate->rotation.id, rotation);
if (res < 0) goto err;
- res = sym_drmModeAtomicCommit(output->fd, req, flags,
- output);
+ res = sym_drmModeAtomicCommit(output->fd, req, flags, output);
if (res < 0)
goto err;
else