From patchwork Wed Apr 5 07:28:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9663131 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4461260364 for ; Wed, 5 Apr 2017 07:28:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35E6A284D5 for ; Wed, 5 Apr 2017 07:28:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29F7628551; Wed, 5 Apr 2017 07:28:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6FEA28527 for ; Wed, 5 Apr 2017 07:28:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753462AbdDEH2v (ORCPT ); Wed, 5 Apr 2017 03:28:51 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:9167 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753980AbdDEH2t (ORCPT ); Wed, 5 Apr 2017 03:28:49 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0ONX00A9EE3YJM20@mailout2.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 05 Apr 2017 08:28:46 +0100 (BST) Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170405072845eucas1p260ff900fcea2da2fb930ba52e89b0539~yb8akmL3t2530825308eucas1p2g; Wed, 5 Apr 2017 07:28:45 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1.samsung.com (EUCPMTA) with SMTP id 44.B4.14140.0BC94E85; Wed, 5 Apr 2017 08:28:48 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170405072844eucas1p1a4860ee4998efbc47580cae8a13235dd~yb8Z8tS402215422154eucas1p1Y; Wed, 5 Apr 2017 07:28:44 +0000 (GMT) X-AuditID: cbfec7ef-f796a6d00000373c-aa-58e49cb0310d Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 54.4F.17452.32D94E85; Wed, 5 Apr 2017 08:30:43 +0100 (BST) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ONX000HIE3TW560@eusync3.samsung.com>; Wed, 05 Apr 2017 08:28:44 +0100 (BST) From: Andrzej Hajda To: Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 9/9] drm/exynos/decon5433: remove useless check Date: Wed, 05 Apr 2017 09:28:37 +0200 Message-id: <1491377317-8042-10-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1491377317-8042-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDIsWRmVeSWpSXmKPExsWy7djP87ob5jyJMJiykNXi1rpzrBYbZ6xn tbjy9T2bxaT7E1gsZpzfx2Sx9shddgc2j/vdx5k8+rasYvT4vEkugDmKyyYlN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3LnaQhLCAvcTHjY2MIDaLgKrE35nzwZp5BZwl 3q+/zA6xTk7i5rlOsDgnUPzMjstgQ4UEnCRaG1+zTGDkXcDIsIpRJLW0ODc9t9hQrzgxt7g0 L10vOT93EyMwYLcd+7l5B+OljcGHGAU4GJV4eCumPY4QYk0sK67MPcQowcGsJML7Y/qTCCHe lMTKqtSi/Pii0pzU4kOMpkBHTWSWEk3OB0ZTXkm8oYmhuaWhkbGFhbmRkZI4b8mHK+FCAumJ JanZqakFqUUwfUwcnFINjB07lraer5vy1uJZ9vENh3PnLyqS1j1qdebD85ZwW8FXp0M1WP7Z Kch85ObMY3w794VCEcujhwsuVtqaKb+vc36qN8mT0dDr3L3vO2XzLaP3tEi2mOTH9ObER329 HvOFZXra24YFzid5FScoPOdJsO2++9tzQ+C/DWzrv3qWaq9LZXeumG3qq8RSnJFoqMVcVJwI AF1+5oxuAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170405072844eucas1p1a4860ee4998efbc47580cae8a13235dd X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRvsgrw=?= =?UTF-8?B?7ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170405072844eucas1p1a4860ee4998efbc47580cae8a13235dd X-RootMTR: 20170405072844eucas1p1a4860ee4998efbc47580cae8a13235dd References: <1491377317-8042-1-git-send-email-a.hajda@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP TE IRQ is enabled only in case of sw-trigger, so trigger check is redundant. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index 1cb4b86..5792ca88 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;