drm/exynos/decon5433: remove useless check
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 5 Apr 2017 07:28:37 +0000 (09:28 +0200)
committerInki Dae <inki.dae@samsung.com>
Thu, 1 Jun 2017 07:21:38 +0000 (16:21 +0900)
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>
drivers/gpu/drm/exynos/exynos5433_drm_decon.c

index 1cb4b86eb33c8b1fb1390739d2da59b082bd202e..5792ca88ab7a3718a8e24e58003468ac95e9b46b 100644 (file)
@@ -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;