From patchwork Mon Sep 1 13:05:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 4819301 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 222F5C0338 for ; Mon, 1 Sep 2014 13:06:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0C4B620160 for ; Mon, 1 Sep 2014 13:06:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D1D232013A for ; Mon, 1 Sep 2014 13:06:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752939AbaIANGO (ORCPT ); Mon, 1 Sep 2014 09:06:14 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:9290 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751500AbaIANGI (ORCPT ); Mon, 1 Sep 2014 09:06:08 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NB80018T4E6PP40@mailout1.samsung.com> for linux-media@vger.kernel.org; Mon, 01 Sep 2014 22:06:07 +0900 (KST) X-AuditID: cbfee61b-f79f86d00000144c-b1-54046f3e1145 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 1A.02.05196.E3F64045; Mon, 01 Sep 2014 22:06:06 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NB800FWD4DUDR90@mmp1.samsung.com>; Mon, 01 Sep 2014 22:06:06 +0900 (KST) From: Jacek Anaszewski To: linux-media@vger.kernel.org Cc: Jacek Anaszewski Subject: [PATCH 2/4] s5p-jpeg: remove stray call to readl Date: Mon, 01 Sep 2014 15:05:50 +0200 Message-id: <1409576752-24729-2-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1409576752-24729-1-git-send-email-j.anaszewski@samsung.com> References: <1409576752-24729-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFJMWRmVeSWpSXmKPExsVy+t9jAV27fJYQg9mLrS16rz5ntOjZsJXV gcmjb8sqRo/Pm+QCmKK4bFJSczLLUov07RK4Mj4dvs5SsIWt4k//PaYGxsOsXYwcHBICJhLb 3mR2MXICmWISF+6tZ+ti5OIQEljEKHHv1hFWCKedSWLP3ZlMIFVsAoYSP1+8BrNFBOQlnvTe YAOxmQX0JU7PvQ4WFxawlNjYsp4RxGYRUJW4dusuWJxXwEPi+b1pUIsVJOZMsgEJcwp4Ssza dw2sRAioZMm/V8wTGHkXMDKsYhRNLUguKE5KzzXSK07MLS7NS9dLzs/dxAgOgWfSOxhXNVgc YhTgYFTi4X0wizlEiDWxrLgy9xCjBAezkghvagZLiBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHe g63WgUIC6YklqdmpqQWpRTBZJg5OqQbGkp5GJx7Rx72zLpTmvj4TacRebnmoNLlrRvsPiVnd /zxZmDtETjXp/PuZPvFA/7a89MOsQS02a8/qRp/g9b744fJihogVUxYV5NltZTiXsijnGu/u be5r2sIkFjazL4irO7/19V23lDlKSj5+BQcPl5Z8n6FgM/PMv6ioq8Wra5/zMOt3uvIosRRn JBpqMRcVJwIA34L++P0BAAA= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There is no need to read INT_EN_REG before enabling interrupts. Signed-off-by: Jacek Anaszewski --- drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c b/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c index da8d6a1..2de81c7 100644 --- a/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c +++ b/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c @@ -151,9 +151,6 @@ void exynos4_jpeg_set_enc_out_fmt(void __iomem *base, unsigned int out_fmt) void exynos4_jpeg_set_interrupt(void __iomem *base) { - unsigned int reg; - - reg = readl(base + EXYNOS4_INT_EN_REG) & ~EXYNOS4_INT_EN_MASK; writel(EXYNOS4_INT_EN_ALL, base + EXYNOS4_INT_EN_REG); }