From: Andrzej Hajda Date: Wed, 5 Apr 2017 07:28:37 +0000 (+0200) Subject: drm/exynos/decon5433: remove useless check X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ce42cf4b03e6ad1a6316b2a74a4ceae4b70adcac;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Inki Dae --- 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;