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