From patchwork Wed Dec 30 16:44:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 7934271 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E78BBBEEE5 for ; Wed, 30 Dec 2015 16:47:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2BF3E202F2 for ; Wed, 30 Dec 2015 16:47:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5B108202E9 for ; Wed, 30 Dec 2015 16:47:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755026AbbL3QrD (ORCPT ); Wed, 30 Dec 2015 11:47:03 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:35624 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754986AbbL3Qq4 (ORCPT ); Wed, 30 Dec 2015 11:46:56 -0500 Received: by mail-wm0-f54.google.com with SMTP id f206so42403497wmf.0 for ; Wed, 30 Dec 2015 08:46:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=VwJukbFtNN1K3cxVFGFLJlgAiEZVzay95sC1+lqy0lU=; b=tzAULrr/DZppEzLGleCbNV54dHG8hSWRqHeMoKS6aLXQKPInC+jCmoWqBNtcKFhohX SV6r2Nly0MD4ghozPoAFdiiM9yECWTWAhS+5iUZ2OKt3qpV3+FGDP4Pp28CS8FRzv1gY ll1YCJLrGDzEtzPvx3ISPwcWomXhoucqaqbrYFUmiGUfDxoPX0vV87CuIPDFUfRCgVDb fZ5l4+v4LZbL6mANUxA2biXf7uEzoAb8VS2Oj2GM5yg1AS6v/Yd+N9gymhRTScus5GUA PMEiD7WPRjCy32SWpH8Cy5SQR2ndFP7Piux5pdwFzwVDhgmw8yRgxeaBCbwK35jK30Ne 3b2Q== X-Received: by 10.194.179.162 with SMTP id dh2mr71274417wjc.17.1451494015540; Wed, 30 Dec 2015 08:46:55 -0800 (PST) Received: from ?IPv6:2003:62:5f55:ba00:84bb:b7f:fe67:66b9? (p200300625F55BA0084BB0B7FFE6766B9.dip0.t-ipconnect.de. [2003:62:5f55:ba00:84bb:b7f:fe67:66b9]) by smtp.googlemail.com with ESMTPSA id yz5sm14316024wjc.36.2015.12.30.08.46.54 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Dec 2015 08:46:54 -0800 (PST) From: Heiner Kallweit Subject: [PATCH 12/16] media: rc: nuvoton-cir: remove unneeded call to nvt_set_cir_iren To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org Message-ID: <568409DD.6060009@gmail.com> Date: Wed, 30 Dec 2015 17:44:13 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Calling nvt_set_cir_iren separately is not needed as this is done by nvt_cir_regs_init. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c index e01fdc8..252804d 100644 --- a/drivers/media/rc/nuvoton-cir.c +++ b/drivers/media/rc/nuvoton-cir.c @@ -1201,9 +1201,6 @@ static int nvt_resume(struct pnp_dev *pdev) nvt_dbg("%s called", __func__); - /* open interrupt */ - nvt_set_cir_iren(nvt); - nvt_cir_regs_init(nvt); nvt_cir_wake_regs_init(nvt);