summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2017-04-05 10:28:37 +0300
committerInki Dae <inki.dae@samsung.com>2017-06-01 10:21:38 +0300
commitce42cf4b03e6ad1a6316b2a74a4ceae4b70adcac (patch)
tree1fea26af89f77d94beae32d7c6c4036a6fcc6d2d /drivers/gpu/drm/exynos
parent2073ddb4ff8492dcd2c5f3a9f01252ce7f5a2974 (diff)
downloadlinux-ce42cf4b03e6ad1a6316b2a74a4ceae4b70adcac.tar.xz
drm/exynos/decon5433: remove useless check
TE IRQ is enabled only in case of sw-trigger, so trigger check is redundant. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r--drivers/gpu/drm/exynos/exynos5433_drm_decon.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
index 1cb4b86eb33c..5792ca88ab7a 100644
--- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
+++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
@@ -482,9 +482,6 @@ static irqreturn_t decon_te_irq_handler(int irq, void *dev_id)
{
struct decon_context *ctx = dev_id;
- if (ctx->out_type & I80_HW_TRG)
- return IRQ_HANDLED;
-
decon_set_bits(ctx, DECON_TRIGCON, TRIGCON_SWTRIGCMD, ~0);
return IRQ_HANDLED;