Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ce405be authored by Jingoo Han's avatar Jingoo Han Committed by Inki Dae
Browse files

drm/exynos: rotator: add missing braces



In the case of that only one branch of a conditional statement is
a single statement, braces are added to both branches.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 7a5b6827
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -158,8 +158,9 @@ static irqreturn_t rotator_irq_handler(int irq, void *arg)
			rot->cur_buf_id[EXYNOS_DRM_OPS_DST];
		queue_work(ippdrv->event_workq,
			(struct work_struct *)event_work);
	} else
	} else {
		DRM_ERROR("the SFR is set illegally\n");
	}

	return IRQ_HANDLED;
}